Spaces:
Running
on
Zero
Running
on
Zero
Helw150
commited on
Commit
·
d9f3c9f
1
Parent(s):
fda1d4b
Return Behaves Oddly
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def response(state: AppState, audio: tuple):
|
|
105 |
outs = tuple(
|
106 |
tuple(vec.cpu().numpy() for vec in tup) for tup in outs.past_key_values
|
107 |
)
|
108 |
-
|
109 |
AppState(conversation=state.conversation, model_outs=outs),
|
110 |
state.conversation,
|
111 |
)
|
|
|
105 |
outs = tuple(
|
106 |
tuple(vec.cpu().numpy() for vec in tup) for tup in outs.past_key_values
|
107 |
)
|
108 |
+
yield (
|
109 |
AppState(conversation=state.conversation, model_outs=outs),
|
110 |
state.conversation,
|
111 |
)
|