Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def CustomChatGPT(user_input):
|
|
16 |
ChatGPT_reply = response["choices"][0]["message"]["content"]
|
17 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
18 |
return ChatGPT_reply
|
19 |
-
|
20 |
-
demo = gr.Interface(fn=CustomChatGPT, inputs = "text",
|
21 |
|
22 |
demo.launch()
|
|
|
16 |
ChatGPT_reply = response["choices"][0]["message"]["content"]
|
17 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
18 |
return ChatGPT_reply
|
19 |
+
reponse = outputs
|
20 |
+
demo = gr.Interface(fn=CustomChatGPT, inputs = "text", reponse = "text", title = "Mon nom est Cameron et je suis une IA")
|
21 |
|
22 |
demo.launch()
|