File size: 480 Bytes
2b5e956
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3.8'

services:
  ncut_demo:
    image: registry.hf.space/huzey-ncut-pytorch:latest
    container_name: ncut_demo
    environment:
      - HF_ACCESS_TOKEN=${HF_ACCESS_TOKEN}
      - USE_HUGGINGFACE_ZEROGPU=false
    ports:
      - "7860:7860"
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
    platform: linux/amd64
    runtime: nvidia
    shm_size: '64G'
    command: python app.py
    networks:
      - default