OdinStef commited on
Commit
38d03d3
·
1 Parent(s): bbbec64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,6 +17,6 @@ def CustomChatGPT(user_input):
17
  messages.append({"role": "assistant", "content": ChatGPT_reply})
18
  return ChatGPT_reply
19
 
20
- demo = gr.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "I am Stephane AI and my name is Cameron")
21
 
22
  demo.launch()
 
17
  messages.append({"role": "assistant", "content": ChatGPT_reply})
18
  return ChatGPT_reply
19
 
20
+ demo = gr.Interface(fn=CustomChatGPT, inputs=gr.inputs.Textbox(label="Question"), outputs=gr.outputs.Textbox(label="Answer"), title = "I am Stephane AI and my name is Cameron")
21
 
22
  demo.launch()