alexkueck commited on
Commit
ca1c086
1 Parent(s): 5cb80b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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