yadayana commited on
Commit
1c431f1
·
verified ·
1 Parent(s): 9db6622
Files changed (1) hide show
  1. app.py +1 -19
app.py CHANGED
@@ -532,25 +532,7 @@ with gr.Blocks(css=custom_css, fill_height=True, js=js_force_light) as demo:
532
  elem_id="header2"
533
  )
534
 
535
- # Below branding: upload info
536
- gr.Markdown(
537
- """
538
- **Supported file formats:** .txt, .json, .md, .csv, .pdf, .docx, .pptx, .py
539
-
540
- **Maximum files' size:** 5 MB
541
- """,
542
- elem_id="upload-note"
543
- )
544
-
545
- file_upload = gr.File(
546
- label="Upload files for RAG context",
547
- file_count="multiple",
548
- elem_id="file-upload"
549
- )
550
- upload_btn = gr.Button("Upload")
551
- upload_output = gr.Textbox(label="Upload status", interactive=False)
552
- upload_btn.click(handle_file_upload, inputs=[file_upload], outputs=[upload_output])
553
-
554
 
555
  with gr.Column(scale=4, elem_id="right-column"):
556
  with gr.Tabs():
 
532
  elem_id="header2"
533
  )
534
 
535
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
 
537
  with gr.Column(scale=4, elem_id="right-column"):
538
  with gr.Tabs():