abanm commited on
Commit
7d71d00
·
verified ·
1 Parent(s): f39447a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ if prompt := st.chat_input():
168
 
169
  full_response = ""
170
  # 4) Stream chunks from the API
171
- for chunk in stream_response(chat_history, dubs_key):
172
  full_response += chunk
173
  # Continuously update the placeholder with the partial response
174
  assistant_message_placeholder.write(full_response)
 
168
 
169
  full_response = ""
170
  # 4) Stream chunks from the API
171
+ for chunk in stream_response(chat_history, HF_API_KEY):
172
  full_response += chunk
173
  # Continuously update the placeholder with the partial response
174
  assistant_message_placeholder.write(full_response)