Spaces:
Sleeping
Sleeping
Commit ·
0f991d0
1
Parent(s): 5b44c67
Updated some minor chore issues in the app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ env = EmailSortingEnvironment()
|
|
| 18 |
|
| 19 |
|
| 20 |
@app.post("/reset", response_model=Observation)
|
| 21 |
-
def reset(task_id: str = "
|
| 22 |
try:
|
| 23 |
return env.reset(task_id)
|
| 24 |
except ValueError as exec:
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
@app.post("/reset", response_model=Observation)
|
| 21 |
+
def reset(task_id: str = "email_classification"):
|
| 22 |
try:
|
| 23 |
return env.reset(task_id)
|
| 24 |
except ValueError as exec:
|