Spaces:
Runtime error
Runtime error
fix: message print
Browse files
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 |
"د","ذ","ر","ز","ژ","س","ش","ص","ض","ط","ظ","ع","غ",
|