Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,9 @@ def respond(message, history):
|
|
34 |
response += token
|
35 |
yield response
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
)
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
-
demo.launch(show_api=False,
|
|
|
34 |
response += token
|
35 |
yield response
|
36 |
|
37 |
+
|
38 |
+
with gr.Blocks() as demo:
|
39 |
+
gr.ChatInterface(respond)
|
|
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
+
demo.launch(show_api=False, share=False)
|