OdinStef commited on
Commit
c980e23
·
1 Parent(s): 59cea7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- button class="lg primary svelte-58yet2" id="Soumettre"
20
- demo = gr.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "Mon nom est Cameron et je suis une IA")
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()