Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ def add_text(history, prompt, file):
|
|
140 |
else:
|
141 |
history = history + [((file.name,), None), (prompt, None)]
|
142 |
|
143 |
-
return history, prompt, gr.File(value="") #gr.Textbox(value="", interactive=False)
|
144 |
|
145 |
def add_file(history, file, prompt):
|
146 |
if (prompt == ""):
|
|
|
140 |
else:
|
141 |
history = history + [((file.name,), None), (prompt, None)]
|
142 |
|
143 |
+
return history, prompt, "", gr.File(value="") #gr.Textbox(value="", interactive=False)
|
144 |
|
145 |
def add_file(history, file, prompt):
|
146 |
if (prompt == ""):
|