Yermek68 commited on
Commit
1c9ce33
·
verified ·
1 Parent(s): 33d43d0

Update huggingface.yml

Browse files
Files changed (1) hide show
  1. huggingface.yml +8 -3
huggingface.yml CHANGED
@@ -2,10 +2,15 @@
2
  # ================================
3
 
4
  sdk: docker
5
- sdk_version: 1.0
6
  app_port: 7860
7
- dockerfile: Dockerfile
8
- python_version: "3.10"
 
 
 
 
 
9
 
10
  # отключаем встроенные автоматические окружения
11
  disable_space_sdk: true
 
2
  # ================================
3
 
4
  sdk: docker
5
+ image: python:3.10-slim
6
  app_port: 7860
7
+
8
+ run:
9
+ - apt-get update && apt-get install -y git ffmpeg libsm6 libxext6
10
+ - pip install --upgrade pip
11
+ - pip install "huggingface-hub==0.23.4" "transformers==4.46.0" "torch==2.4.1" fastapi uvicorn
12
+ - python app.py
13
+
14
 
15
  # отключаем встроенные автоматические окружения
16
  disable_space_sdk: true