Spaces:
Runtime error
Runtime error
temp-9384289
commited on
Commit
·
83578c9
1
Parent(s):
dc40850
reqs
Browse files- app.py +4 -1
- requirements.txt +10 -5
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
from diffusers import DiffusionPipeline
|
2 |
import spaces
|
3 |
# import torch
|
@@ -10,7 +13,7 @@ import keras
|
|
10 |
import time
|
11 |
import os
|
12 |
|
13 |
-
|
14 |
|
15 |
# options = ['Placeholder A', 'Placeholder B', 'Placeholder C']
|
16 |
|
|
|
1 |
+
# notes https://huggingface.co/spaces/Joeythemonster/Text-To-image-AllModels/blob/main/app.py
|
2 |
+
|
3 |
+
|
4 |
from diffusers import DiffusionPipeline
|
5 |
import spaces
|
6 |
# import torch
|
|
|
13 |
import time
|
14 |
import os
|
15 |
|
16 |
+
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
17 |
|
18 |
# options = ['Placeholder A', 'Placeholder B', 'Placeholder C']
|
19 |
|
requirements.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by https://github.com/damnever/pigar.
|
2 |
+
|
3 |
+
diffusers==0.27.2
|
4 |
+
gradio==4.28.3
|
5 |
+
huggingface-hub==0.22.2
|
6 |
+
keras==2.11.0
|
7 |
+
numpy==1.23.4
|
8 |
+
pillow==10.3.0
|
9 |
+
spaces==0.26.2
|
10 |
+
torch==2.2.2
|