Anish13 samyak24jain commited on
Commit
977de7f
·
verified ·
1 Parent(s): 334676d

Update app.py (#1)

Browse files

- Update app.py (1de21b76c648c77296941f478238dac68049e4e6)


Co-authored-by: Samyak Jain <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def greet(question, pdf_file):
82
  else:
83
  return "No helpful answer found."
84
 
85
- iface = gr.Interface(fn=greet, inputs=["text", "file"], outputs="text")
86
  iface.launch(share=True)
87
 
88
 
 
82
  else:
83
  return "No helpful answer found."
84
 
85
+ iface = gr.ChatInterface(fn=greet, inputs=["text", "file"], outputs="text")
86
  iface.launch(share=True)
87
 
88