Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -248,8 +248,8 @@ with gr.Blocks() as demo:
|
|
| 248 |
with gr.Row():
|
| 249 |
|
| 250 |
with gr.Group():
|
| 251 |
-
file=gr.File(label='➡️ Upload your PDF ⬅️ NO CONFIDENTIAL FILES
|
| 252 |
-
url=gr.Textbox(label='
|
| 253 |
question=gr.Textbox(label='🔤 Enter your question here 🔤')
|
| 254 |
btn=gr.Button(value='Submit')
|
| 255 |
btn.style(full_width=False)
|
|
|
|
| 248 |
with gr.Row():
|
| 249 |
|
| 250 |
with gr.Group():
|
| 251 |
+
file=gr.File(label='➡️ Upload your PDF ⬅️ NO CONFIDENTIAL FILES SHOULD BE USED ', file_types=['.pdf'])
|
| 252 |
+
url=gr.Textbox(label=' ')
|
| 253 |
question=gr.Textbox(label='🔤 Enter your question here 🔤')
|
| 254 |
btn=gr.Button(value='Submit')
|
| 255 |
btn.style(full_width=False)
|