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