Spaces:
Paused
Paused
Upload 2 files
Browse files- app.py +2 -5
- requirements.txt +1 -2
app.py
CHANGED
|
@@ -28,11 +28,8 @@ task_model_list = list(task_stablepy.keys())
|
|
| 28 |
#######################
|
| 29 |
import spaces
|
| 30 |
import os
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
#from stablepy.diffusers_vanilla.style_prompt_config import STYLE_NAMES
|
| 34 |
-
from stablepy_model import Model_Diffusers
|
| 35 |
-
from stablepy_model import scheduler_names
|
| 36 |
from stablepy.diffusers_vanilla.style_prompt_config import STYLE_NAMES
|
| 37 |
import torch
|
| 38 |
import re
|
|
|
|
| 28 |
#######################
|
| 29 |
import spaces
|
| 30 |
import os
|
| 31 |
+
from stablepy import Model_Diffusers
|
| 32 |
+
from stablepy.diffusers_vanilla.model import scheduler_names
|
|
|
|
|
|
|
|
|
|
| 33 |
from stablepy.diffusers_vanilla.style_prompt_config import STYLE_NAMES
|
| 34 |
import torch
|
| 35 |
import re
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
git+https://github.com/R3gm/stablepy.git@
|
| 2 |
torch
|
| 3 |
gdown
|
| 4 |
opencv-python
|
|
@@ -8,5 +8,4 @@ transformers
|
|
| 8 |
optimum[onnxruntime]
|
| 9 |
spaces
|
| 10 |
dartrs
|
| 11 |
-
diffusers>=0.28.2
|
| 12 |
huggingface_hub
|
|
|
|
| 1 |
+
git+https://github.com/R3gm/stablepy.git@v0.4.0
|
| 2 |
torch
|
| 3 |
gdown
|
| 4 |
opencv-python
|
|
|
|
| 8 |
optimum[onnxruntime]
|
| 9 |
spaces
|
| 10 |
dartrs
|
|
|
|
| 11 |
huggingface_hub
|