abanm commited on
Commit
5eec54a
·
verified ·
1 Parent(s): 8ef711c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ if prompt := st.chat_input():
177
 
178
  full_response = ""
179
  # 4) Stream chunks from the API
180
- for chunk in stream_response(chat_history, dubs_key):
181
  full_response += chunk
182
  # Continuously update the placeholder with the partial response
183
  assistant_message_placeholder.write(full_response)
 
177
 
178
  full_response = ""
179
  # 4) Stream chunks from the API
180
+ for chunk in stream_response(chat_history, HF_API_KEY):
181
  full_response += chunk
182
  # Continuously update the placeholder with the partial response
183
  assistant_message_placeholder.write(full_response)