Instructions to use BACCHUS45/Potex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use BACCHUS45/Potex with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("BACCHUS45/Potex", set_active=True) - Notebooks
- Google Colab
- Kaggle
Create services/detection-service/Dockerfile
Browse files
services/detection-service/Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
+
COPY . .
|
| 6 |
+
EXPOSE 3001
|
| 7 |
+
CMD ["uvicorn","main:app","--host","0.0.0.0","--port","3001"]
|