Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,11 +235,13 @@ def create_interface():
|
|
| 235 |
{"role": "system", "content": SYSTEM_PROMPT},
|
| 236 |
{"role": "user", "content": prompt}
|
| 237 |
],
|
| 238 |
-
temperature=0.
|
|
|
|
| 239 |
max_tokens=512
|
| 240 |
)
|
| 241 |
|
| 242 |
ai_response = response['choices'][0]['message']['content']
|
|
|
|
| 243 |
|
| 244 |
# Extract reasoning and move
|
| 245 |
try:
|
|
|
|
| 235 |
{"role": "system", "content": SYSTEM_PROMPT},
|
| 236 |
{"role": "user", "content": prompt}
|
| 237 |
],
|
| 238 |
+
temperature=0.8,
|
| 239 |
+
top_p=0.95,
|
| 240 |
max_tokens=512
|
| 241 |
)
|
| 242 |
|
| 243 |
ai_response = response['choices'][0]['message']['content']
|
| 244 |
+
print(ai_response)
|
| 245 |
|
| 246 |
# Extract reasoning and move
|
| 247 |
try:
|