Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ def clear_all(history, uploaded_file_paths, chats):
|
|
205 |
#die session variable in gradio erweitern und alle fliepath neu in das gr.File hochladen
|
206 |
uploaded_file_paths= uploaded_file_paths + [file_path_download]
|
207 |
|
208 |
-
return None, gr.Image(visible=False), uploaded_file_paths, [], gr.File(uploaded_file_paths, label="Download-Chatverläufe", visible=True, file_count="multiple", interactive = False), chats
|
209 |
|
210 |
|
211 |
#wenn löschen Button geklickt
|
|
|
205 |
#die session variable in gradio erweitern und alle fliepath neu in das gr.File hochladen
|
206 |
uploaded_file_paths= uploaded_file_paths + [file_path_download]
|
207 |
|
208 |
+
return None, gr.Image(visible=False), uploaded_file_paths, [], gr.File(uploaded_file_paths, label="Download-Chatverläufe", visible=True, file_count="multiple", interactive = False, mimetype="application/pdf"), chats
|
209 |
|
210 |
|
211 |
#wenn löschen Button geklickt
|