Update app.py
Browse files
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
|
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()
|