cogcorp commited on
Commit
67673ff
·
1 Parent(s): 97e95ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -162,7 +162,8 @@ recommender = SemanticSearch()
162
  title = 'PDF GPT'
163
  description = """ PDF GPT allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
164
 
165
- with gr.Interface(fn=question_answer, inputs=[url, file, question openAI_key], outputs=[answer], title=title, description=description) as iface:
 
166
  iface.launch()
167
 
168
 
 
162
  title = 'PDF GPT'
163
  description = """ PDF GPT allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
164
 
165
+ with gr.Interface(fn=question_answer, inputs=[url, file, question, openAI_key], outputs=[answer], title=title, description=description) as iface:
166
+
167
  iface.launch()
168
 
169