Update app.py
Browse files
app.py
CHANGED
|
@@ -16,12 +16,11 @@ def CustomChatGPT(user_input):
|
|
| 16 |
return ChatGPT_reply
|
| 17 |
|
| 18 |
demo = gr.Interface(
|
| 19 |
-
fn=CustomChatGPT,
|
|
|
|
| 20 |
inputs = "text",
|
| 21 |
outputs = "text",
|
| 22 |
title = "Web(GPT)3 Daily")
|
| 23 |
-
with gr.Blocks(theme=gr.themes.Glass()):
|
| 24 |
-
|
| 25 |
|
| 26 |
demo.launch()
|
| 27 |
iface.launch(inline=True)
|
|
|
|
| 16 |
return ChatGPT_reply
|
| 17 |
|
| 18 |
demo = gr.Interface(
|
| 19 |
+
fn=CustomChatGPT,
|
| 20 |
+
theme=gr.themes.Glass
|
| 21 |
inputs = "text",
|
| 22 |
outputs = "text",
|
| 23 |
title = "Web(GPT)3 Daily")
|
|
|
|
|
|
|
| 24 |
|
| 25 |
demo.launch()
|
| 26 |
iface.launch(inline=True)
|