Remove __main__ uvicorn.run block for Hugging Face Space
Browse files- app/main.py +1 -3
app/main.py
CHANGED
@@ -166,6 +166,4 @@ async def health_check():
|
|
166 |
except Exception as e:
|
167 |
raise HTTPException(status_code=500, detail=str(e))
|
168 |
|
169 |
-
|
170 |
-
import uvicorn
|
171 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
166 |
except Exception as e:
|
167 |
raise HTTPException(status_code=500, detail=str(e))
|
168 |
|
169 |
+
|
|
|
|