Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ def initialize(pdf_file, question):
|
|
35 |
iface = gr.Interface(
|
36 |
fn=initialize,
|
37 |
inputs=[
|
38 |
-
gr.
|
39 |
-
gr.
|
40 |
],
|
41 |
outputs="text",
|
42 |
title="GeminiPro Q&A Bot",
|
|
|
35 |
iface = gr.Interface(
|
36 |
fn=initialize,
|
37 |
inputs=[
|
38 |
+
gr.File(label="Upload PDF", type="file"),
|
39 |
+
gr.Textbox(label="Question")
|
40 |
],
|
41 |
outputs="text",
|
42 |
title="GeminiPro Q&A Bot",
|