OdinStef commited on
Commit
626a35b
·
1 Parent(s): e560a6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -17,6 +17,9 @@ 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 = "text", outputs = "text",
21
+ inputs=gr.inputs.Textbox(lines=7, label="Query"),
22
+ outputs=gr.outputs.Textbox(label="Response"),
23
+ title = "I am Stephane AI and my name is Cameron")
24
 
25
  demo.launch()