vpcom commited on
Commit
8b23b39
·
1 Parent(s): 1eab9d7

fix: message print

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -516,6 +516,7 @@ class ChatInterface(gr.ChatInterface):
516
  *args,
517
  ) -> tuple[list[list[str | None]], list[list[str | None]]]:
518
  history = history_with_input[:-1]
 
519
  if len(message)==0:
520
  message = random.choice(["ا","ب","پ","ت","ث","ج","چ","ح","خ","ل","م","ن","و",
521
  "د","ذ","ر","ز","ژ","س","ش","ص","ض","ط","ظ","ع","غ",
 
516
  *args,
517
  ) -> tuple[list[list[str | None]], list[list[str | None]]]:
518
  history = history_with_input[:-1]
519
+ print(f'Message is {message}')
520
  if len(message)==0:
521
  message = random.choice(["ا","ب","پ","ت","ث","ج","چ","ح","خ","ل","م","ن","و",
522
  "د","ذ","ر","ز","ژ","س","ش","ص","ض","ط","ظ","ع","غ",