Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,9 +105,10 @@ with gr.Blocks() as demo:
|
|
105 |
I'm Norberto Martín Afonso. Follow me on [Twitter](https://twitter.com/norbertomartnaf) and [GitHub](https://github.com/nmarafo) for more updates and projects!
|
106 |
""")
|
107 |
|
108 |
-
gr.ChatInterface(
|
109 |
chat_stream_completion,
|
110 |
additional_inputs=[gr.Textbox("You are a helpful AI.", label="System Prompt")]
|
111 |
-
)
|
112 |
-
|
113 |
-
demo.
|
|
|
|
105 |
I'm Norberto Martín Afonso. Follow me on [Twitter](https://twitter.com/norbertomartnaf) and [GitHub](https://github.com/nmarafo) for more updates and projects!
|
106 |
""")
|
107 |
|
108 |
+
chatbot = gr.ChatInterface(
|
109 |
chat_stream_completion,
|
110 |
additional_inputs=[gr.Textbox("You are a helpful AI.", label="System Prompt")]
|
111 |
+
)
|
112 |
+
|
113 |
+
demo.append(chatbot)
|
114 |
+
demo.launch(server_name="0.0.0.0", debug=True)
|