Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ask me a question"):
|
|
157 |
with st.chat_message("assistant"):
|
158 |
client = InferenceClient(
|
159 |
model=model_links[selected_model],
|
160 |
-
headers)
|
161 |
|
162 |
output = client.text_generation(
|
163 |
messages=[
|
|
|
157 |
with st.chat_message("assistant"):
|
158 |
client = InferenceClient(
|
159 |
model=model_links[selected_model],
|
160 |
+
headers=headers)
|
161 |
|
162 |
output = client.text_generation(
|
163 |
messages=[
|