freddyaboulton HF staff commited on
Commit
bf0cc6a
1 Parent(s): 39d826e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def response(audio: tuple[int, np.ndarray], conversation: list[dict], img: str |
96
  text_data = frame.split(b'\r\n\r\n', 1)[1].decode()
97
  resp_text += text_data
98
  conversation[-1]["content"] = resp_text
99
- yield AdditionalOutputs(conversation)
100
  except Exception as e:
101
  raise Exception(f"Error during audio streaming: {e}") from e
102
 
 
96
  text_data = frame.split(b'\r\n\r\n', 1)[1].decode()
97
  resp_text += text_data
98
  conversation[-1]["content"] = resp_text
99
+ yield AdditionalOutputs(conversation)
100
  except Exception as e:
101
  raise Exception(f"Error during audio streaming: {e}") from e
102