djrana commited on
Commit
93a5b2d
1 Parent(s): 02dc3ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -24
app.py CHANGED
@@ -3,31 +3,8 @@ import os
3
  import requests
4
  import random
5
  import time
6
- name2 = "stablediffusionapi/anything-v45-pruned-merge"
7
 
8
- models=[
9
- gr.Interface.load(f"models/{name2}"),
10
- gr.Interface.load(f"models/{name2}"),
11
- gr.Interface.load(f"models/{name2}"),
12
- gr.Interface.load(f"models/{name2}"),
13
- gr.Interface.load(f"models/{name2}"),
14
- gr.Interface.load(f"models/{name2}"),
15
- gr.Interface.load(f"models/{name2}"),
16
- gr.Interface.load(f"models/{name2}"),
17
- gr.Interface.load(f"models/{name2}"),
18
- gr.Interface.load(f"models/{name2}"),
19
- gr.Interface.load(f"models/{name2}"),
20
- gr.Interface.load(f"models/{name2}"),
21
- gr.Interface.load(f"models/{name2}"),
22
- gr.Interface.load(f"models/{name2}"),
23
- gr.Interface.load(f"models/{name2}"),
24
- gr.Interface.load(f"models/{name2}"),
25
- gr.Interface.load(f"models/{name2}"),
26
- gr.Interface.load(f"models/{name2}"),
27
- gr.Interface.load(f"models/{name2}"),
28
- gr.Interface.load(f"models/{name2}"),
29
- ]
30
- #o = os.getenv("P")
31
  o = "V"
32
 
33
  m_out = ("""
 
3
  import requests
4
  import random
5
  import time
6
+ models = [gr.Interface.load(f"models/{name2}") for _ in range(20)]
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  o = "V"
9
 
10
  m_out = ("""