debug
Browse files
app.py
CHANGED
|
@@ -90,7 +90,9 @@ with gr.Blocks() as demo:
|
|
| 90 |
|
| 91 |
def user_chat(message, cefr_level, infer_type, history):
|
| 92 |
# call your chat function here
|
|
|
|
| 93 |
new_history, _ = chat(message, cefr_level, infer_type, history)
|
|
|
|
| 94 |
return new_history, new_history
|
| 95 |
|
| 96 |
send_btn.click(
|
|
|
|
| 90 |
|
| 91 |
def user_chat(message, cefr_level, infer_type, history):
|
| 92 |
# call your chat function here
|
| 93 |
+
print("Received:", user_input)
|
| 94 |
new_history, _ = chat(message, cefr_level, infer_type, history)
|
| 95 |
+
print("Received:", user_input)
|
| 96 |
return new_history, new_history
|
| 97 |
|
| 98 |
send_btn.click(
|