Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,7 @@ def CustomChatGPT(user_input):
|
|
15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
16 |
return ChatGPT_reply
|
17 |
|
18 |
-
demo = gradio.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "Web(GPT)3 Daily")
|
19 |
-
with gr.Blocks(theme=gr.themes.Glass()):
|
20 |
-
...
|
21 |
|
22 |
|
23 |
demo.launch()
|
|
|
15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
16 |
return ChatGPT_reply
|
17 |
|
18 |
+
demo = gradio.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "Web(GPT)3 Daily", with gr.Blocks(theme=gr.themes.Glass())
|
|
|
|
|
19 |
|
20 |
|
21 |
demo.launch()
|