John6666 commited on
Commit
8ffb119
·
verified ·
1 Parent(s): 7b3233b

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +2 -1
app.py CHANGED
@@ -14,7 +14,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None #
14
  inference_timeout = 300
15
  MAX_SEED = 2**32-1
16
 
17
- models = [
18
  "nicky007/stable-diffusion-logo-fine-tuned",
19
  "stablediffusionapi/three-delicacy", #233
20
  "stablediffusionapi/three-delicacy-wonto", #234
@@ -25,7 +25,7 @@ models = [
25
  "ItsJayQz/Valorant_Diffusion",
26
  "Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
27
  "wavymulder/wavyfusion",
28
- ]
29
 
30
  current_model = models[0]
31
 
 
14
  inference_timeout = 300
15
  MAX_SEED = 2**32-1
16
 
17
+ """models = [ # for debugging
18
  "nicky007/stable-diffusion-logo-fine-tuned",
19
  "stablediffusionapi/three-delicacy", #233
20
  "stablediffusionapi/three-delicacy-wonto", #234
 
25
  "ItsJayQz/Valorant_Diffusion",
26
  "Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
27
  "wavymulder/wavyfusion",
28
+ ]"""
29
 
30
  current_model = models[0]
31
 
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  transformers
2
  numpy<2
3
- torch==2.2.0
 
 
1
  transformers
2
  numpy<2
3
+ torch==2.2.0
4
+ fastapi==0.112.2