Update app.py
Browse files
app.py
CHANGED
@@ -14,12 +14,10 @@ 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 |
-
text = "Ask a question"
|
19 |
|
20 |
demo = gr.Interface(
|
21 |
fn=CustomChatGPT,
|
22 |
-
inputs=
|
23 |
outputs="text",
|
24 |
title="Web(GPT)3",
|
25 |
description = "Ask a question about Web3, get a simple answer, in plain English."
|
|
|
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,
|
20 |
+
inputs=Ask a question,
|
21 |
outputs="text",
|
22 |
title="Web(GPT)3",
|
23 |
description = "Ask a question about Web3, get a simple answer, in plain English."
|