Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,10 @@ def CustomChatGPT(user_input):
|
|
| 15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
| 16 |
return ChatGPT_reply
|
| 17 |
|
| 18 |
-
demo = gradio.Interface(fn=CustomChatGPT, inputs = "
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
demo.launch()
|
| 21 |
iface.launch(inline=True)
|
|
|
|
| 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()
|
| 24 |
iface.launch(inline=True)
|