Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ def CustomChatGPT(user_input):
|
|
| 14 |
ChatGPT_reply = response["choices"][0]["message"]["content"]
|
| 15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
| 16 |
return ChatGPT_reply
|
|
|
|
|
|
|
| 17 |
|
| 18 |
demo = gr.Interface(
|
| 19 |
fn=CustomChatGPT,
|
|
|
|
| 14 |
ChatGPT_reply = response["choices"][0]["message"]["content"]
|
| 15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
| 16 |
return ChatGPT_reply
|
| 17 |
+
|
| 18 |
+
text = "Ask a question"
|
| 19 |
|
| 20 |
demo = gr.Interface(
|
| 21 |
fn=CustomChatGPT,
|