Update app.py
Browse files
app.py
CHANGED
|
@@ -33,11 +33,13 @@ def build_message(input_text, history):
|
|
| 33 |
)
|
| 34 |
|
| 35 |
def qwen(input_text):
|
| 36 |
-
client = Client("
|
| 37 |
result = client.predict(
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
| 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 |
|