Spaces:
Runtime error
Runtime error
fix round 1
Browse files- inference.py +2 -2
inference.py
CHANGED
|
@@ -36,7 +36,7 @@ def choose_action(client, state):
|
|
| 36 |
}
|
| 37 |
],
|
| 38 |
max_tokens=10,
|
| 39 |
-
temperature=0.
|
| 40 |
)
|
| 41 |
|
| 42 |
action = response.choices[0].message.content.strip()
|
|
@@ -131,4 +131,4 @@ run_task("medium")
|
|
| 131 |
run_task("hard")
|
| 132 |
|
| 133 |
# Keep alive briefly
|
| 134 |
-
time.sleep(180)
|
|
|
|
| 36 |
}
|
| 37 |
],
|
| 38 |
max_tokens=10,
|
| 39 |
+
temperature=0.3
|
| 40 |
)
|
| 41 |
|
| 42 |
action = response.choices[0].message.content.strip()
|
|
|
|
| 131 |
run_task("hard")
|
| 132 |
|
| 133 |
# Keep alive briefly
|
| 134 |
+
time.sleep(180)
|