Spaces:
BHO
/
Runtime error

BHO commited on
Commit
8c6917a
·
1 Parent(s): 8f8811d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -95,16 +95,10 @@ output_docs = gr.outputs.Textbox(label="Relevant Source Text")
95
 
96
  #gr.Interface(fn=chatbot,
97
  # inputs=[openai_key, prompt, chain_type, k], outputs=[output_text, output_docs],
98
- # title="Question Answering with PDF File and OpenAI",
99
  # description="Tikehau URDs.").launch(debug = True, shared=True)
100
 
101
- iface = gr.Interface(fn=chatbot,
102
- inputs=gr.inputs.Textbox(lines=7, label="Enter your text"),
103
- outputs="text",
104
- title="Tikehau-trained AI Chatbot")
105
-
106
-
107
  gr.Interface(fn=chatbot,
108
  inputs= prompt, outputs="text",
109
  title="Question Answering with PDF File and OpenAI",
110
- description="Tikehau URDs.").launch(debug = True, shared=True)
 
95
 
96
  #gr.Interface(fn=chatbot,
97
  # inputs=[openai_key, prompt, chain_type, k], outputs=[output_text, output_docs],
98
+ # title="TikehauGPT Question Answering with PDF File and OpenAI",
99
  # description="Tikehau URDs.").launch(debug = True, shared=True)
100
 
 
 
 
 
 
 
101
  gr.Interface(fn=chatbot,
102
  inputs= prompt, outputs="text",
103
  title="Question Answering with PDF File and OpenAI",
104
+ description="Tikehau URDs.").launch(debug = True, share=True)