pythononlinegcc commited on
Commit
1021517
·
verified ·
1 Parent(s): e4527a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def run_code():
24
  # Модель лучше указать реальную, например Qwen 2.5 Coder
25
  response = client.chat.completions.create(
26
  model="Qwen/Qwen3.5-27B",
27
- messages=[{"role": "user", "content": user_code}],
28
  max_tokens=2000,
29
  temperature=0.5
30
  )
 
24
  # Модель лучше указать реальную, например Qwen 2.5 Coder
25
  response = client.chat.completions.create(
26
  model="Qwen/Qwen3.5-27B",
27
+ messages=[{"role": "system", "content": "в твоем ответе только число и ничего более"},{"role": "user", "content": user_code}],
28
  max_tokens=2000,
29
  temperature=0.5
30
  )