Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,8 +98,8 @@ iface = gr.Interface(
|
|
98 |
iface.add_endpoint(
|
99 |
fn=embed_pdf,
|
100 |
inputs=[
|
101 |
-
gr.
|
102 |
-
gr.
|
103 |
],
|
104 |
outputs="text"
|
105 |
)
|
|
|
98 |
iface.add_endpoint(
|
99 |
fn=embed_pdf,
|
100 |
inputs=[
|
101 |
+
gr.File(label="PDF File", type="file"),
|
102 |
+
gr.Textbox(label="Collection Name")
|
103 |
],
|
104 |
outputs="text"
|
105 |
)
|