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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -17,9 +17,8 @@ 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",
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()
 
17
  messages.append({"role": "assistant", "content": ChatGPT_reply})
18
  return ChatGPT_reply
19
 
20
+ demo = gr.Interface(fn=CustomChatGPT, inputs = "text",
21
+ outputs=gr.outputs.Textbox(outputs = "text",label="Response"),
 
22
  title = "I am Stephane AI and my name is Cameron")
23
 
24
  demo.launch()