Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,6 +44,9 @@ class HealthResponse(BaseModel):
|
|
| 44 |
status: str
|
| 45 |
model_loaded: bool
|
| 46 |
device: str
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
# Load model at startup
|
| 49 |
@app.on_event("startup")
|
|
|
|
| 44 |
status: str
|
| 45 |
model_loaded: bool
|
| 46 |
device: str
|
| 47 |
+
|
| 48 |
+
class Config:
|
| 49 |
+
protected_namespaces = ()
|
| 50 |
|
| 51 |
# Load model at startup
|
| 52 |
@app.on_event("startup")
|