Vihang28 commited on
Commit
66f73ea
·
verified ·
1 Parent(s): 2ae12c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.red)) as demo:
66
  gr.Markdown(f'<h1 style="text-align: center;">{title}</h1>')
67
  with gr.Row():
68
  with gr.Column():
69
- pdf_input = gr.File(type="file", label="Upload .pdf File")
70
  api_input = gr.Textbox(label= "Enter Api-key")
71
  upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
72
  with gr.Column():
 
66
  gr.Markdown(f'<h1 style="text-align: center;">{title}</h1>')
67
  with gr.Row():
68
  with gr.Column():
69
+ pdf_input = gr.File(type="filepath", label="Upload .pdf File")
70
  api_input = gr.Textbox(label= "Enter Api-key")
71
  upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
72
  with gr.Column():