Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,6 +112,9 @@ def enable_api_box():
|
|
| 112 |
def add_text(history, text: str):
|
| 113 |
if not text:
|
| 114 |
raise gr.Error("enter text")
|
|
|
|
|
|
|
|
|
|
| 115 |
history = history + [(text, "")]
|
| 116 |
return history
|
| 117 |
|
|
|
|
| 112 |
def add_text(history, text: str):
|
| 113 |
if not text:
|
| 114 |
raise gr.Error("enter text")
|
| 115 |
+
print("in add_text history="+str(history))
|
| 116 |
+
print("in add_text text="+str(text))
|
| 117 |
+
|
| 118 |
history = history + [(text, "")]
|
| 119 |
return history
|
| 120 |
|