Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -157,11 +157,11 @@ description = """ PDF GPT allows you to chat with your PDF file using Universal
|
|
| 157 |
iface = gr.Interface(
|
| 158 |
fn=question_answer,
|
| 159 |
inputs=[
|
| 160 |
-
gr.inputs.
|
| 161 |
gr.inputs.File(label="Upload PDF file"),
|
| 162 |
-
gr.inputs.
|
| 163 |
],
|
| 164 |
-
outputs=gr.outputs.
|
| 165 |
title=title,
|
| 166 |
description=description
|
| 167 |
)
|
|
|
|
| 157 |
iface = gr.Interface(
|
| 158 |
fn=question_answer,
|
| 159 |
inputs=[
|
| 160 |
+
gr.inputs.Textbox(label="Enter PDF URL here"),
|
| 161 |
gr.inputs.File(label="Upload PDF file"),
|
| 162 |
+
gr.inputs.Textbox(label="Enter your question here"),
|
| 163 |
],
|
| 164 |
+
outputs=gr.outputs.Textbox(label="Generated Answer"),
|
| 165 |
title=title,
|
| 166 |
description=description
|
| 167 |
)
|