Reality123b commited on
Commit
c8714db
·
verified ·
1 Parent(s): ecf766b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ class XylariaChat:
11
 
12
  # Initialize the inference client
13
  self.client = InferenceClient(
14
- model="Qwen/Qwen-32B-Preview", # Changed model name
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 + "<|im_end|>" # Add <|im_end|> here
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