dammy commited on
Commit
3e6d875
·
1 Parent(s): 7471e3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def upload_pdf(file):
99
 
100
 
101
  with gr.Blocks() as demo:
102
- radio = gr.Radio(value='gpt-3.5-turbo', choices=['gpt-3.5-turbo','gpt-4'], label='models')
103
  chatbot = gr.Chatbot(value=[], elem_id="chatbot")
104
  with gr.Row():
105
  with gr.Column(scale=0.70):
 
99
 
100
 
101
  with gr.Blocks() as demo:
102
+ btn = gr.UploadButton("📁 Upload a PDF", file_types=[".pdf"])
103
  chatbot = gr.Chatbot(value=[], elem_id="chatbot")
104
  with gr.Row():
105
  with gr.Column(scale=0.70):