Spaces:
Running

mgokg commited on
Commit
4a83fec
·
verified ·
1 Parent(s): d66d2bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -33,11 +33,13 @@ def build_message(input_text, history):
33
  )
34
 
35
  def qwen(input_text):
36
- client = Client("Qwen/Qwen2.5-VL-32B-Instruct")
37
  result = client.predict(
38
- history=[],
39
- text = input_text,
40
- api_name="/add_text"
 
 
41
  )
42
  return result
43
 
 
33
  )
34
 
35
  def qwen(input_text):
36
+ client = Client("zai-org/GLM-4.5-Space")
37
  result = client.predict(
38
+ msg=input_text,
39
+ sys_prompt="you are a helpful assistent",
40
+ thinking_enabled=False,
41
+ temperature=0.4,
42
+ api_name="/chat_wrapper"
43
  )
44
  return result
45