Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,12 +43,8 @@ def predict(message, history):
|
|
43 |
stream=True
|
44 |
)
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
with gr.Tab("Streaming"):
|
49 |
-
gr.ChatInterface(predict, title=title, description=description, css=css, examples=examples, cache_examples=True)
|
50 |
|
51 |
-
|
52 |
-
gr.ChatInterface(predict_batch, title=title, description=description, css=css, examples=examples, cache_examples=True)
|
53 |
-
|
54 |
gr.ChatInterface(predict).queue().launch(auth=(USER, PASS))
|
|
|
43 |
stream=True
|
44 |
)
|
45 |
|
46 |
+
gr.Blocks() :
|
47 |
+
gr.ChatInterface(predict, title=title, description=description, css=css, examples=examples, cache_examples=True)
|
|
|
|
|
48 |
|
49 |
+
|
|
|
|
|
50 |
gr.ChatInterface(predict).queue().launch(auth=(USER, PASS))
|