Geraldine commited on
Commit
4ad6c42
1 Parent(s): 205bcc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,6 +17,7 @@ langchain.llm_cache = InMemoryCache()
17
  def predict(input_file):
18
  return "ok"
19
 
20
- input_file = gr.inputs.File(label="Upload PDF file")
 
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()