Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ langchain.llm_cache = InMemoryCache()
|
|
17 |
def predict(input_file):
|
18 |
return "ok"
|
19 |
|
20 |
-
input_file = gr.
|
|
|
21 |
demo = gr.Interface(fn=predict, inputs=[input_file], outputs=output_text)
|
22 |
demo.launch()
|
|
|
17 |
def predict(input_file):
|
18 |
return "ok"
|
19 |
|
20 |
+
input_file = gr.File(label="Upload PDF file")
|
21 |
+
output_text = gr.Textbox(label="test")
|
22 |
demo = gr.Interface(fn=predict, inputs=[input_file], outputs=output_text)
|
23 |
demo.launch()
|