Spaces:
Running
on
Zero
Running
on
Zero
Upload 2 files
Browse files- README.md +4 -7
- 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 #
|
10 |
-
# Hardware
|
11 |
-
#
|
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 |
-
|
|
|
|
|
|
|
|
|
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
|