Spaces:
Sleeping
Sleeping
Upload inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -61,7 +61,7 @@ async def main():
|
|
| 61 |
state = await env.reset()
|
| 62 |
|
| 63 |
try:
|
| 64 |
-
for step in range(1,
|
| 65 |
action_int, action_text = await get_action_from_llama(state)
|
| 66 |
state, reward, done = await env.step(action_int)
|
| 67 |
log_step(step=step, action=str(action_int), reward=reward, done=done)
|
|
|
|
| 61 |
state = await env.reset()
|
| 62 |
|
| 63 |
try:
|
| 64 |
+
for step in range(1, 201):
|
| 65 |
action_int, action_text = await get_action_from_llama(state)
|
| 66 |
state, reward, done = await env.step(action_int)
|
| 67 |
log_step(step=step, action=str(action_int), reward=reward, done=done)
|