Omnibus commited on
Commit
05ea95f
·
1 Parent(s): e91c23d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -390,7 +390,7 @@ def clear_fn():
390
 
391
  with gr.Blocks() as app:
392
  gr.HTML("""<center><h1>Mixtral 8x7B TLDR Summarizer + Web</h1><h3>Summarize Data of unlimited length</h3>""")
393
- chatbot = gr.Chatbot()
394
  with gr.Row():
395
  with gr.Column(scale=3):
396
  prompt=gr.Textbox(label = "Instructions (optional)")
@@ -405,7 +405,7 @@ with gr.Blocks() as app:
405
  with gr.Tab("Text"):
406
  data=gr.Textbox(label="Input Data (paste text)", lines=6)
407
  with gr.Tab("File"):
408
- file=gr.Files(label="Input File (.pdf .txt)")
409
  with gr.Tab("Raw HTML"):
410
  url = gr.Textbox(label="URL")
411
  with gr.Tab("PDF URL"):
 
390
 
391
  with gr.Blocks() as app:
392
  gr.HTML("""<center><h1>Mixtral 8x7B TLDR Summarizer + Web</h1><h3>Summarize Data of unlimited length</h3>""")
393
+ chatbot = gr.Chatbot(label="Mixtral 8x7B Chatbot",show_copy_button=True)
394
  with gr.Row():
395
  with gr.Column(scale=3):
396
  prompt=gr.Textbox(label = "Instructions (optional)")
 
405
  with gr.Tab("Text"):
406
  data=gr.Textbox(label="Input Data (paste text)", lines=6)
407
  with gr.Tab("File"):
408
+ file=gr.Files(label="Input File(s) (.pdf .txt)")
409
  with gr.Tab("Raw HTML"):
410
  url = gr.Textbox(label="URL")
411
  with gr.Tab("PDF URL"):