cella110n commited on
Commit
248fe62
·
verified ·
1 Parent(s): 8244653

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +4 -7
  2. requirements.txt +6 -2
README.md CHANGED
@@ -6,13 +6,10 @@ colorTo: green
6
  sdk: gradio
7
  sdk_version: 4.28.3 # Make sure this matches your gradio version
8
  app_file: app.py
9
- license: apache-2.0 # Or your preferred license
10
- # Hardware Selection:
11
- # For CPU execution (recommended if GPU isn't strictly needed):
12
- # hardware: cpu-upgrade
13
- # For GPU execution (requires compatible CUDA setup):
14
- # hardware: cuda-t4-small
15
- # pinned: false # Set to true if you want to pin the hardware
16
  # hf_token: YOUR_HF_TOKEN # Use secrets instead!
17
  ---
18
 
 
6
  sdk: gradio
7
  sdk_version: 4.28.3 # Make sure this matches your gradio version
8
  app_file: app.py
9
+ license: apache-2.0 # または適切なライセンス
10
+ # Pinned Hardware: T4 small (GPU) or CPU upgrade (CPU)
11
+ # pinned: false # 必要に応じてTrueに
12
+ # hardware: cpu-upgrade # or cuda-t4-small
 
 
 
13
  # hf_token: YOUR_HF_TOKEN # Use secrets instead!
14
  ---
15
 
requirements.txt CHANGED
@@ -1,7 +1,11 @@
1
- onnxruntime>=1.16.0 # CPU版
 
 
 
 
2
  numpy
3
  Pillow
4
  matplotlib
5
  requests
6
- gradio
7
  huggingface_hub
 
1
+ --extra-index-url https://download.pytorch.org/whl/cu126
2
+ torch
3
+ torchvision
4
+ torchaudio
5
+ onnxruntime-gpu>=1.16.0 # または onnxruntime>=1.16.0 (CPUのみの場合)
6
  numpy
7
  Pillow
8
  matplotlib
9
  requests
10
+ gradio=4.44.1
11
  huggingface_hub