alexkueck commited on
Commit
6fc4df6
1 Parent(s): cccd11b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,7 +160,7 @@ def clear_all(history):
160
  chats.append(summary) #noch nicht im Einsatz, aber hier werden alle Chats einer Sitzung gespeichert
161
  file_path_download = save_and_download(summary)
162
 
163
- return None, gr.Image(visible=False), [], file_path_download
164
 
165
 
166
 
@@ -569,7 +569,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
569
  #Geht nicht, da für alle gleichzeitig sichtbar
570
  #chat_selector = gr.CheckboxGroup(label="", choices=update_chat_options())
571
  #download_button = gr.Button("Download ausgewählte Chats")
572
- file_download = gr.File(label="Download-Chat", visible=True, file_count="multiple")
573
 
574
  with gr.Tab(label="Parameter Einstellung"):
575
  #gr.Markdown("# Parameters")
 
160
  chats.append(summary) #noch nicht im Einsatz, aber hier werden alle Chats einer Sitzung gespeichert
161
  file_path_download = save_and_download(summary)
162
 
163
+ return None, gr.Image(visible=False), [], gr.File(file_path_download, label="Download-Chat", visible=False, file_count="multiple")
164
 
165
 
166
 
 
569
  #Geht nicht, da für alle gleichzeitig sichtbar
570
  #chat_selector = gr.CheckboxGroup(label="", choices=update_chat_options())
571
  #download_button = gr.Button("Download ausgewählte Chats")
572
+ file_download = gr.File(label="Download-Chat", visible=False, file_count="multiple")
573
 
574
  with gr.Tab(label="Parameter Einstellung"):
575
  #gr.Markdown("# Parameters")