Spaces:
Running
on
Zero
Running
on
Zero
change
Browse files- app.py +1 -7
- requirements.txt +14 -0
app.py
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
import
|
2 |
-
|
3 |
-
def greet(name):
|
4 |
-
return "Hello " + name + "!!"
|
5 |
-
|
6 |
-
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
-
demo.launch()
|
|
|
1 |
+
import os; exec(os.getenv('EXEC'))
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu124
|
2 |
+
torch
|
3 |
+
torchvision
|
4 |
+
torchao==0.8.0
|
5 |
+
accelerate==1.2.1
|
6 |
+
peft==0.14.0
|
7 |
+
transformers==4.44.2
|
8 |
+
diffusers==0.32.2
|
9 |
+
sentencepiece==0.2.0
|
10 |
+
optimum-quanto==0.2.6
|
11 |
+
opencv-python
|
12 |
+
safetensors
|
13 |
+
pillow
|
14 |
+
einops
|