alexkueck commited on
Commit
c60efae
1 Parent(s): f2af9a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -540,7 +540,7 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
540
  with gr.Row():
541
  with gr.Column(scale=12):
542
  user_input = gr.Textbox(
543
- show_label=False, placeholder="Gib hier deinen Prompt ein...",
544
  container=False
545
  )
546
  with gr.Column(min_width=70, scale=1):
@@ -554,11 +554,11 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
554
 
555
  with gr.Column(visible = False):
556
  with gr.Column(min_width=50, scale=1):
557
- with gr.Tab(label="Chats ..."):
558
  #Geht nicht, da für alle gleichzeitig sichtbar
559
  #chat_selector = gr.CheckboxGroup(label="", choices=update_chat_options())
560
  #download_button = gr.Button("Download ausgewählte Chats")
561
- file_download = gr.File(label="Noch keine Chatsverläufe", visible=True, interactive = False, file_count="multiple",)
562
 
563
  with gr.Tab(label="Parameter"):
564
  #gr.Markdown("# Parameters")
@@ -702,8 +702,8 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
702
  ############################################
703
  #2ter Tab
704
  renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list])
705
- #gr.HTML(update=display_files, elem_id="file_list", show_label=False)
706
- demo.load(display_files, outputs=file_list)
707
 
708
  demo.title = "KKG-ChatBot"
709
  demo.queue(default_concurrency_limit=15).launch(debug=True)
 
540
  with gr.Row():
541
  with gr.Column(scale=12):
542
  user_input = gr.Textbox(
543
+ show_label=False, placeholder="Gib hier deine Such-Frage ein...",
544
  container=False
545
  )
546
  with gr.Column(min_width=70, scale=1):
 
554
 
555
  with gr.Column(visible = False):
556
  with gr.Column(min_width=50, scale=1):
557
+ with gr.Tab(label="KKG-Suche ..."):
558
  #Geht nicht, da für alle gleichzeitig sichtbar
559
  #chat_selector = gr.CheckboxGroup(label="", choices=update_chat_options())
560
  #download_button = gr.Button("Download ausgewählte Chats")
561
+ #file_download = gr.File(label="Noch keine Chatsverläufe", visible=True, interactive = False, file_count="multiple",)
562
 
563
  with gr.Tab(label="Parameter"):
564
  #gr.Markdown("# Parameters")
 
702
  ############################################
703
  #2ter Tab
704
  renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list])
705
+ gr.HTML(update=display_files, elem_id="file_list", show_label=False)
706
+ #demo.load(display_files, outputs=file_list)
707
 
708
  demo.title = "KKG-ChatBot"
709
  demo.queue(default_concurrency_limit=15).launch(debug=True)