Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ class XylariaChat:
|
|
11 |
|
12 |
# Initialize the inference client
|
13 |
self.client = InferenceClient(
|
14 |
-
model="Qwen/
|
15 |
token=self.hf_token
|
16 |
)
|
17 |
|
@@ -138,7 +138,7 @@ Capabilities:
|
|
138 |
|
139 |
# Streaming output
|
140 |
for response_text in response_stream:
|
141 |
-
full_response += response_text
|
142 |
|
143 |
# Update the last message in chat history with partial response
|
144 |
updated_history[-1][1] = full_response
|
|
|
11 |
|
12 |
# Initialize the inference client
|
13 |
self.client = InferenceClient(
|
14 |
+
model="Qwen/QwQ-32B-Preview", # Changed model name
|
15 |
token=self.hf_token
|
16 |
)
|
17 |
|
|
|
138 |
|
139 |
# Streaming output
|
140 |
for response_text in response_stream:
|
141 |
+
full_response += response_text
|
142 |
|
143 |
# Update the last message in chat history with partial response
|
144 |
updated_history[-1][1] = full_response
|