Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,7 @@ mychatbot = gr.Chatbot(
|
|
43 |
bubble_full_width=False, show_label=False, show_copy_button=True,)
|
44 |
|
45 |
|
46 |
-
|
47 |
-
gr.ChatInterface(
|
48 |
-
generate,
|
49 |
chatbot=mychatbot,
|
50 |
title="Z7 Chat",
|
51 |
retry_btn=None,
|
@@ -53,4 +51,4 @@ with gr.Blocks() as demo:
|
|
53 |
clear_btn=None
|
54 |
)
|
55 |
|
56 |
-
demo.queue(
|
|
|
43 |
bubble_full_width=False, show_label=False, show_copy_button=True,)
|
44 |
|
45 |
|
46 |
+
demo = gr.ChatInterface(fn=generate,
|
|
|
|
|
47 |
chatbot=mychatbot,
|
48 |
title="Z7 Chat",
|
49 |
retry_btn=None,
|
|
|
51 |
clear_btn=None
|
52 |
)
|
53 |
|
54 |
+
demo.queue().launch(show_api=False)
|