Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ with gr.Blocks() as demo:
|
|
| 248 |
with gr.Row():
|
| 249 |
|
| 250 |
with gr.Group():
|
| 251 |
-
file=gr.File(label='➡️ Upload your PDF
|
| 252 |
url=gr.Textbox(label='OR Enter PDF URL Here')
|
| 253 |
question=gr.Textbox(label='🔤 Enter your question here 🔤')
|
| 254 |
btn=gr.Button(value='Submit')
|
|
|
|
| 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='OR Enter PDF URL Here')
|
| 253 |
question=gr.Textbox(label='🔤 Enter your question here 🔤')
|
| 254 |
btn=gr.Button(value='Submit')
|