Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ MODELS = {
|
|
35 |
|
36 |
def stream_together_model(model_name, user_prompt, add_thinking_delay=False):
|
37 |
if add_thinking_delay:
|
38 |
-
yield ""
|
39 |
time.sleep(1)
|
40 |
yield ""
|
41 |
|
@@ -140,7 +140,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Base()) as demo:
|
|
140 |
|
141 |
threading.Thread(target=fetch_stream, args=(q1, MODELS["Model A"], True)).start()
|
142 |
threading.Thread(target=fetch_stream, args=(q2, MODELS["Model B"], True)).start()
|
143 |
-
threading.Thread(target=
|
144 |
|
145 |
done_a = done_b = done_c = False
|
146 |
|
|
|
35 |
|
36 |
def stream_together_model(model_name, user_prompt, add_thinking_delay=False):
|
37 |
if add_thinking_delay:
|
38 |
+
yield "Thinking.."
|
39 |
time.sleep(1)
|
40 |
yield ""
|
41 |
|
|
|
140 |
|
141 |
threading.Thread(target=fetch_stream, args=(q1, MODELS["Model A"], True)).start()
|
142 |
threading.Thread(target=fetch_stream, args=(q2, MODELS["Model B"], True)).start()
|
143 |
+
threading.Thread(target=fetch_stream, args=(q3, MODELS["Model C"], True)).start()
|
144 |
|
145 |
done_a = done_b = done_c = False
|
146 |
|