Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files- src/app.py +1 -0
src/app.py
CHANGED
@@ -118,6 +118,7 @@ def create_app() -> FastAPI: # noqa: C901 # TODO move to routes
|
|
118 |
app_state: Annotated[AppState, Depends(dependency=get_app_state)],
|
119 |
) -> GridResponseType:
|
120 |
app_state.env.reset()
|
|
|
121 |
return observe(app_state.env)
|
122 |
|
123 |
@app.get(path="/get_huggingface_video")
|
|
|
118 |
app_state: Annotated[AppState, Depends(dependency=get_app_state)],
|
119 |
) -> GridResponseType:
|
120 |
app_state.env.reset()
|
121 |
+
app_state.inform_reset()
|
122 |
return observe(app_state.env)
|
123 |
|
124 |
@app.get(path="/get_huggingface_video")
|