Update requirements.txt
Browse files- requirements.txt +1 -29
requirements.txt
CHANGED
|
@@ -1,30 +1,2 @@
|
|
| 1 |
ultralytics
|
| 2 |
-
pillow
|
| 3 |
-
```
|
| 4 |
-
|
| 5 |
-
### Option 2: Use Hugging Face Spaces Instead
|
| 6 |
-
|
| 7 |
-
Deploy your model as a Gradio or Streamlit app on Hugging Face Spaces, which gives you more flexibility:
|
| 8 |
-
|
| 9 |
-
1. Create a new Space
|
| 10 |
-
2. Upload your model files
|
| 11 |
-
3. Create an `app.py` with a simple interface
|
| 12 |
-
4. Use the Spaces API for programmatic access
|
| 13 |
-
|
| 14 |
-
### Option 3: Self-host with Custom Container
|
| 15 |
-
|
| 16 |
-
Since YOLO models aren't natively supported, you could create a custom Docker container and deploy it elsewhere (AWS SageMaker, GCP, Azure ML, or your own server).
|
| 17 |
-
|
| 18 |
-
### Option 4: Use Ultralytics HUB
|
| 19 |
-
|
| 20 |
-
Ultralytics (the creators of YOLO) have their own hosting platform called Ultralytics HUB that's specifically designed for YOLO models.
|
| 21 |
-
|
| 22 |
-
## Recommended Next Steps
|
| 23 |
-
|
| 24 |
-
1. **Try Option 1 first**: Add the `handler.py` and `requirements.txt` to your model repository
|
| 25 |
-
2. Make sure your repository structure looks like:
|
| 26 |
-
```
|
| 27 |
-
your-model-repo/
|
| 28 |
-
├── FFDNet-L.pt
|
| 29 |
-
├── handler.py
|
| 30 |
-
└── requirements.txt
|
|
|
|
| 1 |
ultralytics
|
| 2 |
+
pillow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|