Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,881 +1,82 @@
|
|
1 |
import gradio as gr
|
2 |
-
import
|
3 |
-
import sys
|
4 |
-
from pathlib import Path
|
5 |
from all_models import models
|
6 |
-
|
7 |
-
current_model = models[0]
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
#text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend")
|
13 |
-
#text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
14 |
-
|
15 |
-
models2=[
|
16 |
-
gr.Interface.load(f"models/{models[0]}",live=False,preprocess=True, postprocess=False),
|
17 |
-
gr.Interface.load(f"models/{models[1]}",live=False,preprocess=True, postprocess=False),
|
18 |
-
gr.Interface.load(f"models/{models[2]}",live=False,preprocess=True, postprocess=False),
|
19 |
-
gr.Interface.load(f"models/{models[3]}",live=False,preprocess=True, postprocess=False),
|
20 |
-
gr.Interface.load(f"models/{models[4]}",live=False,preprocess=True, postprocess=False),
|
21 |
-
gr.Interface.load(f"models/{models[5]}",live=False,preprocess=True, postprocess=False),
|
22 |
-
gr.Interface.load(f"models/{models[6]}",live=False,preprocess=True, postprocess=False),
|
23 |
-
gr.Interface.load(f"models/{models[7]}",live=False,preprocess=True, postprocess=False),
|
24 |
-
gr.Interface.load(f"models/{models[8]}",live=False,preprocess=True, postprocess=False),
|
25 |
-
gr.Interface.load(f"models/{models[9]}",live=False,preprocess=True, postprocess=False),
|
26 |
-
gr.Interface.load(f"models/{models[10]}",live=True,preprocess=True, postprocess=False),
|
27 |
-
gr.Interface.load(f"models/{models[11]}",live=True,preprocess=True, postprocess=False),
|
28 |
-
gr.Interface.load(f"models/{models[12]}",live=True,preprocess=True, postprocess=False),
|
29 |
-
gr.Interface.load(f"models/{models[13]}",live=True,preprocess=True, postprocess=False),
|
30 |
-
gr.Interface.load(f"models/{models[14]}",live=True,preprocess=True, postprocess=False),
|
31 |
-
gr.Interface.load(f"models/{models[15]}",live=True,preprocess=True, postprocess=False),
|
32 |
-
gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False),
|
33 |
-
gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False),
|
34 |
-
gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False),
|
35 |
-
gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False),
|
36 |
-
gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False),
|
37 |
-
gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False),
|
38 |
-
gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False),
|
39 |
-
gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False),
|
40 |
-
gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False),
|
41 |
-
gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False),
|
42 |
-
gr.Interface.load(f"models/{models[26]}",live=True,preprocess=False),
|
43 |
-
gr.Interface.load(f"models/{models[27]}",live=True,preprocess=False),
|
44 |
-
gr.Interface.load(f"models/{models[28]}",live=True,preprocess=False),
|
45 |
-
gr.Interface.load(f"models/{models[29]}",live=True,preprocess=False),
|
46 |
-
gr.Interface.load(f"models/{models[30]}",live=True,preprocess=False),
|
47 |
-
gr.Interface.load(f"models/{models[31]}",live=True,preprocess=False),
|
48 |
-
gr.Interface.load(f"models/{models[32]}",live=True,preprocess=False),
|
49 |
-
gr.Interface.load(f"models/{models[33]}",live=True,preprocess=False),
|
50 |
-
gr.Interface.load(f"models/{models[34]}",live=True,preprocess=False),
|
51 |
-
gr.Interface.load(f"models/{models[35]}",live=True,preprocess=False),
|
52 |
-
gr.Interface.load(f"models/{models[36]}",live=True,preprocess=False),
|
53 |
-
gr.Interface.load(f"models/{models[37]}",live=True,preprocess=False),
|
54 |
-
gr.Interface.load(f"models/{models[38]}",live=True,preprocess=False),
|
55 |
-
gr.Interface.load(f"models/{models[39]}",live=True,preprocess=False),
|
56 |
-
gr.Interface.load(f"models/{models[40]}",live=True,preprocess=False),
|
57 |
-
gr.Interface.load(f"models/{models[41]}",live=True,preprocess=False),
|
58 |
-
gr.Interface.load(f"models/{models[42]}",live=True,preprocess=False),
|
59 |
-
gr.Interface.load(f"models/{models[43]}",live=True,preprocess=False),
|
60 |
-
gr.Interface.load(f"models/{models[44]}",live=True,preprocess=False),
|
61 |
-
gr.Interface.load(f"models/{models[45]}",live=True,preprocess=False),
|
62 |
-
gr.Interface.load(f"models/{models[46]}",live=True,preprocess=False),
|
63 |
-
gr.Interface.load(f"models/{models[47]}",live=True,preprocess=False),
|
64 |
-
gr.Interface.load(f"models/{models[48]}",live=True,preprocess=False),
|
65 |
-
gr.Interface.load(f"models/{models[49]}",live=True,preprocess=False),
|
66 |
-
gr.Interface.load(f"models/{models[50]}",live=True,preprocess=False),
|
67 |
-
gr.Interface.load(f"models/{models[51]}",live=True,preprocess=False),
|
68 |
-
gr.Interface.load(f"models/{models[52]}",live=True,preprocess=False),
|
69 |
-
gr.Interface.load(f"models/{models[53]}",live=True,preprocess=False),
|
70 |
-
gr.Interface.load(f"models/{models[54]}",live=True,preprocess=False),
|
71 |
-
gr.Interface.load(f"models/{models[55]}",live=True,preprocess=False),
|
72 |
-
gr.Interface.load(f"models/{models[56]}",live=True,preprocess=False),
|
73 |
-
gr.Interface.load(f"models/{models[57]}",live=True,preprocess=False),
|
74 |
-
gr.Interface.load(f"models/{models[58]}",live=True,preprocess=False),
|
75 |
-
gr.Interface.load(f"models/{models[59]}",live=True,preprocess=False),
|
76 |
-
gr.Interface.load(f"models/{models[60]}",live=True,preprocess=False),
|
77 |
-
gr.Interface.load(f"models/{models[61]}",live=True,preprocess=False),
|
78 |
-
gr.Interface.load(f"models/{models[62]}",live=True,preprocess=False),
|
79 |
-
gr.Interface.load(f"models/{models[63]}",live=True,preprocess=False),
|
80 |
-
gr.Interface.load(f"models/{models[64]}",live=True,preprocess=False),
|
81 |
-
gr.Interface.load(f"models/{models[65]}",live=True,preprocess=False),
|
82 |
-
gr.Interface.load(f"models/{models[66]}",live=True,preprocess=False),
|
83 |
-
gr.Interface.load(f"models/{models[67]}",live=True,preprocess=False),
|
84 |
-
gr.Interface.load(f"models/{models[68]}",live=True,preprocess=False),
|
85 |
-
gr.Interface.load(f"models/{models[69]}",live=True,preprocess=False),
|
86 |
-
gr.Interface.load(f"models/{models[70]}",live=True,preprocess=False),
|
87 |
-
gr.Interface.load(f"models/{models[71]}",live=True,preprocess=False),
|
88 |
-
gr.Interface.load(f"models/{models[72]}",live=True,preprocess=False),
|
89 |
-
gr.Interface.load(f"models/{models[73]}",live=True,preprocess=False),
|
90 |
-
gr.Interface.load(f"models/{models[74]}",live=True,preprocess=False),
|
91 |
-
gr.Interface.load(f"models/{models[75]}",live=True,preprocess=False),
|
92 |
-
gr.Interface.load(f"models/{models[76]}",live=True,preprocess=False),
|
93 |
-
gr.Interface.load(f"models/{models[77]}",live=True,preprocess=False),
|
94 |
-
gr.Interface.load(f"models/{models[78]}",live=True,preprocess=False),
|
95 |
-
gr.Interface.load(f"models/{models[79]}",live=True,preprocess=False),
|
96 |
-
gr.Interface.load(f"models/{models[80]}",live=True,preprocess=False),
|
97 |
-
gr.Interface.load(f"models/{models[81]}",live=True,preprocess=False),
|
98 |
-
gr.Interface.load(f"models/{models[82]}",live=True,preprocess=False),
|
99 |
-
gr.Interface.load(f"models/{models[83]}",live=True,preprocess=False),
|
100 |
-
gr.Interface.load(f"models/{models[84]}",live=True,preprocess=False),
|
101 |
-
gr.Interface.load(f"models/{models[85]}",live=True,preprocess=False),
|
102 |
-
gr.Interface.load(f"models/{models[86]}",live=True,preprocess=False),
|
103 |
-
gr.Interface.load(f"models/{models[87]}",live=True,preprocess=False),
|
104 |
-
gr.Interface.load(f"models/{models[88]}",live=True,preprocess=False),
|
105 |
-
gr.Interface.load(f"models/{models[89]}",live=True,preprocess=False),
|
106 |
-
gr.Interface.load(f"models/{models[90]}",live=True,preprocess=False),
|
107 |
-
gr.Interface.load(f"models/{models[91]}",live=True,preprocess=False),
|
108 |
-
gr.Interface.load(f"models/{models[92]}",live=True,preprocess=False),
|
109 |
-
gr.Interface.load(f"models/{models[93]}",live=True,preprocess=False),
|
110 |
-
gr.Interface.load(f"models/{models[94]}",live=True,preprocess=False),
|
111 |
-
gr.Interface.load(f"models/{models[95]}",live=True,preprocess=False),
|
112 |
-
gr.Interface.load(f"models/{models[96]}",live=True,preprocess=False),
|
113 |
-
gr.Interface.load(f"models/{models[97]}",live=True,preprocess=False),
|
114 |
-
gr.Interface.load(f"models/{models[98]}",live=True,preprocess=False),
|
115 |
-
gr.Interface.load(f"models/{models[99]}",live=True,preprocess=False),
|
116 |
-
gr.Interface.load(f"models/{models[100]}",live=True,preprocess=False),
|
117 |
-
gr.Interface.load(f"models/{models[101]}",live=True,preprocess=False),
|
118 |
-
gr.Interface.load(f"models/{models[102]}",live=True,preprocess=False),
|
119 |
-
gr.Interface.load(f"models/{models[103]}",live=True,preprocess=False),
|
120 |
-
gr.Interface.load(f"models/{models[104]}",live=True,preprocess=False),
|
121 |
-
gr.Interface.load(f"models/{models[105]}",live=True,preprocess=False),
|
122 |
-
gr.Interface.load(f"models/{models[106]}",live=True,preprocess=False),
|
123 |
-
gr.Interface.load(f"models/{models[107]}",live=True,preprocess=False),
|
124 |
-
gr.Interface.load(f"models/{models[108]}",live=True,preprocess=False),
|
125 |
-
gr.Interface.load(f"models/{models[109]}",live=True,preprocess=False),
|
126 |
-
gr.Interface.load(f"models/{models[110]}",live=True,preprocess=False),
|
127 |
-
gr.Interface.load(f"models/{models[111]}",live=True,preprocess=False),
|
128 |
-
gr.Interface.load(f"models/{models[112]}",live=True,preprocess=False),
|
129 |
-
gr.Interface.load(f"models/{models[113]}",live=True,preprocess=False),
|
130 |
-
gr.Interface.load(f"models/{models[114]}",live=True,preprocess=False),
|
131 |
-
gr.Interface.load(f"models/{models[115]}",live=True,preprocess=False),
|
132 |
-
gr.Interface.load(f"models/{models[116]}",live=True,preprocess=False),
|
133 |
-
gr.Interface.load(f"models/{models[117]}",live=True,preprocess=False),
|
134 |
-
gr.Interface.load(f"models/{models[118]}",live=True,preprocess=False),
|
135 |
-
gr.Interface.load(f"models/{models[119]}",live=True,preprocess=False),
|
136 |
-
gr.Interface.load(f"models/{models[120]}",live=True,preprocess=False),
|
137 |
-
gr.Interface.load(f"models/{models[121]}",live=True,preprocess=False),
|
138 |
-
gr.Interface.load(f"models/{models[122]}",live=True,preprocess=False),
|
139 |
-
gr.Interface.load(f"models/{models[123]}",live=True,preprocess=False),
|
140 |
-
gr.Interface.load(f"models/{models[124]}",live=True,preprocess=False),
|
141 |
-
gr.Interface.load(f"models/{models[125]}",live=True,preprocess=False),
|
142 |
-
gr.Interface.load(f"models/{models[126]}",live=True,preprocess=False),
|
143 |
-
gr.Interface.load(f"models/{models[127]}",live=True,preprocess=False),
|
144 |
-
gr.Interface.load(f"models/{models[128]}",live=True,preprocess=False),
|
145 |
-
gr.Interface.load(f"models/{models[129]}",live=True,preprocess=False),
|
146 |
-
gr.Interface.load(f"models/{models[130]}",live=True,preprocess=False),
|
147 |
-
gr.Interface.load(f"models/{models[131]}",live=True,preprocess=False),
|
148 |
-
gr.Interface.load(f"models/{models[132]}",live=True,preprocess=False),
|
149 |
-
gr.Interface.load(f"models/{models[133]}",live=True,preprocess=False),
|
150 |
-
gr.Interface.load(f"models/{models[134]}",live=True,preprocess=False),
|
151 |
-
gr.Interface.load(f"models/{models[135]}",live=True,preprocess=False),
|
152 |
-
gr.Interface.load(f"models/{models[136]}",live=True,preprocess=False),
|
153 |
-
gr.Interface.load(f"models/{models[137]}",live=True,preprocess=False),
|
154 |
-
gr.Interface.load(f"models/{models[138]}",live=True,preprocess=False),
|
155 |
-
gr.Interface.load(f"models/{models[139]}",live=True,preprocess=False),
|
156 |
-
gr.Interface.load(f"models/{models[140]}",live=True,preprocess=False),
|
157 |
-
gr.Interface.load(f"models/{models[141]}",live=True,preprocess=False),
|
158 |
-
gr.Interface.load(f"models/{models[142]}",live=True,preprocess=False),
|
159 |
-
gr.Interface.load(f"models/{models[143]}",live=True,preprocess=False),
|
160 |
-
gr.Interface.load(f"models/{models[144]}",live=True,preprocess=False),
|
161 |
-
gr.Interface.load(f"models/{models[145]}",live=True,preprocess=False),
|
162 |
-
gr.Interface.load(f"models/{models[146]}",live=True,preprocess=False),
|
163 |
-
gr.Interface.load(f"models/{models[147]}",live=True,preprocess=False),
|
164 |
-
gr.Interface.load(f"models/{models[148]}",live=True,preprocess=False),
|
165 |
-
gr.Interface.load(f"models/{models[149]}",live=True,preprocess=False),
|
166 |
-
gr.Interface.load(f"models/{models[150]}",live=True,preprocess=False),
|
167 |
-
gr.Interface.load(f"models/{models[151]}",live=True,preprocess=False),
|
168 |
-
gr.Interface.load(f"models/{models[152]}",live=True,preprocess=False),
|
169 |
-
gr.Interface.load(f"models/{models[153]}",live=True,preprocess=False),
|
170 |
-
gr.Interface.load(f"models/{models[154]}",live=True,preprocess=False),
|
171 |
-
gr.Interface.load(f"models/{models[155]}",live=True,preprocess=False),
|
172 |
-
gr.Interface.load(f"models/{models[156]}",live=True,preprocess=False),
|
173 |
-
gr.Interface.load(f"models/{models[157]}",live=True,preprocess=False),
|
174 |
-
gr.Interface.load(f"models/{models[158]}",live=True,preprocess=False),
|
175 |
-
gr.Interface.load(f"models/{models[159]}",live=True,preprocess=False),
|
176 |
-
|
177 |
-
gr.Interface.load(f"models/{models[160]}",live=True,preprocess=False),
|
178 |
-
gr.Interface.load(f"models/{models[161]}",live=True,preprocess=False),
|
179 |
-
gr.Interface.load(f"models/{models[162]}",live=True,preprocess=False),
|
180 |
-
gr.Interface.load(f"models/{models[163]}",live=True,preprocess=False),
|
181 |
-
gr.Interface.load(f"models/{models[164]}",live=True,preprocess=False),
|
182 |
-
gr.Interface.load(f"models/{models[165]}",live=True,preprocess=False),
|
183 |
-
gr.Interface.load(f"models/{models[166]}",live=True,preprocess=False),
|
184 |
-
gr.Interface.load(f"models/{models[167]}",live=True,preprocess=False),
|
185 |
-
gr.Interface.load(f"models/{models[168]}",live=True,preprocess=False),
|
186 |
-
gr.Interface.load(f"models/{models[169]}",live=True,preprocess=False),
|
187 |
-
|
188 |
-
gr.Interface.load(f"models/{models[170]}",live=True,preprocess=False),
|
189 |
-
gr.Interface.load(f"models/{models[171]}",live=True,preprocess=False),
|
190 |
-
gr.Interface.load(f"models/{models[172]}",live=True,preprocess=False),
|
191 |
-
gr.Interface.load(f"models/{models[173]}",live=True,preprocess=False),
|
192 |
-
gr.Interface.load(f"models/{models[174]}",live=True,preprocess=False),
|
193 |
-
gr.Interface.load(f"models/{models[175]}",live=True,preprocess=False),
|
194 |
-
gr.Interface.load(f"models/{models[176]}",live=True,preprocess=False),
|
195 |
-
gr.Interface.load(f"models/{models[177]}",live=True,preprocess=False),
|
196 |
-
gr.Interface.load(f"models/{models[178]}",live=True,preprocess=False),
|
197 |
-
gr.Interface.load(f"models/{models[179]}",live=True,preprocess=False),
|
198 |
-
|
199 |
-
gr.Interface.load(f"models/{models[180]}",live=True,preprocess=False),
|
200 |
-
gr.Interface.load(f"models/{models[181]}",live=True,preprocess=False),
|
201 |
-
gr.Interface.load(f"models/{models[182]}",live=True,preprocess=False),
|
202 |
-
gr.Interface.load(f"models/{models[183]}",live=True,preprocess=False),
|
203 |
-
gr.Interface.load(f"models/{models[184]}",live=True,preprocess=False),
|
204 |
-
gr.Interface.load(f"models/{models[185]}",live=True,preprocess=False),
|
205 |
-
gr.Interface.load(f"models/{models[186]}",live=True,preprocess=False),
|
206 |
-
gr.Interface.load(f"models/{models[187]}",live=True,preprocess=False),
|
207 |
-
gr.Interface.load(f"models/{models[188]}",live=True,preprocess=False),
|
208 |
-
gr.Interface.load(f"models/{models[189]}",live=True,preprocess=False),
|
209 |
-
|
210 |
-
gr.Interface.load(f"models/{models[190]}",live=True,preprocess=False),
|
211 |
-
gr.Interface.load(f"models/{models[191]}",live=True,preprocess=False),
|
212 |
-
gr.Interface.load(f"models/{models[192]}",live=True,preprocess=False),
|
213 |
-
gr.Interface.load(f"models/{models[193]}",live=True,preprocess=False),
|
214 |
-
gr.Interface.load(f"models/{models[194]}",live=True,preprocess=False),
|
215 |
-
gr.Interface.load(f"models/{models[195]}",live=True,preprocess=False),
|
216 |
-
gr.Interface.load(f"models/{models[196]}",live=True,preprocess=False),
|
217 |
-
gr.Interface.load(f"models/{models[197]}",live=True,preprocess=False),
|
218 |
-
gr.Interface.load(f"models/{models[198]}",live=True,preprocess=False),
|
219 |
-
gr.Interface.load(f"models/{models[199]}",live=True,preprocess=False),
|
220 |
-
|
221 |
-
gr.Interface.load(f"models/{models[200]}",live=True,preprocess=False),
|
222 |
-
gr.Interface.load(f"models/{models[201]}",live=True,preprocess=False),
|
223 |
-
gr.Interface.load(f"models/{models[202]}",live=True,preprocess=False),
|
224 |
-
gr.Interface.load(f"models/{models[203]}",live=True,preprocess=False),
|
225 |
-
gr.Interface.load(f"models/{models[204]}",live=True,preprocess=False),
|
226 |
-
gr.Interface.load(f"models/{models[205]}",live=True,preprocess=False),
|
227 |
-
gr.Interface.load(f"models/{models[206]}",live=True,preprocess=False),
|
228 |
-
gr.Interface.load(f"models/{models[207]}",live=True,preprocess=False),
|
229 |
-
gr.Interface.load(f"models/{models[208]}",live=True,preprocess=False),
|
230 |
-
gr.Interface.load(f"models/{models[209]}",live=True,preprocess=False),
|
231 |
-
|
232 |
-
gr.Interface.load(f"models/{models[210]}",live=True,preprocess=False),
|
233 |
-
gr.Interface.load(f"models/{models[211]}",live=True,preprocess=False),
|
234 |
-
gr.Interface.load(f"models/{models[212]}",live=True,preprocess=False),
|
235 |
-
gr.Interface.load(f"models/{models[213]}",live=True,preprocess=False),
|
236 |
-
gr.Interface.load(f"models/{models[214]}",live=True,preprocess=False),
|
237 |
-
gr.Interface.load(f"models/{models[215]}",live=True,preprocess=False),
|
238 |
-
gr.Interface.load(f"models/{models[216]}",live=True,preprocess=False),
|
239 |
-
gr.Interface.load(f"models/{models[217]}",live=True,preprocess=False),
|
240 |
-
gr.Interface.load(f"models/{models[218]}",live=True,preprocess=False),
|
241 |
-
gr.Interface.load(f"models/{models[219]}",live=True,preprocess=False),
|
242 |
-
|
243 |
-
gr.Interface.load(f"models/{models[220]}",live=True,preprocess=False),
|
244 |
-
gr.Interface.load(f"models/{models[221]}",live=True,preprocess=False),
|
245 |
-
gr.Interface.load(f"models/{models[222]}",live=True,preprocess=False),
|
246 |
-
gr.Interface.load(f"models/{models[223]}",live=True,preprocess=False),
|
247 |
-
gr.Interface.load(f"models/{models[224]}",live=True,preprocess=False),
|
248 |
-
gr.Interface.load(f"models/{models[225]}",live=True,preprocess=False),
|
249 |
-
gr.Interface.load(f"models/{models[226]}",live=True,preprocess=False),
|
250 |
-
gr.Interface.load(f"models/{models[227]}",live=True,preprocess=False),
|
251 |
-
gr.Interface.load(f"models/{models[228]}",live=True,preprocess=False),
|
252 |
-
gr.Interface.load(f"models/{models[229]}",live=True,preprocess=False),
|
253 |
-
|
254 |
-
gr.Interface.load(f"models/{models[230]}",live=True,preprocess=False),
|
255 |
-
gr.Interface.load(f"models/{models[231]}",live=True,preprocess=False),
|
256 |
-
gr.Interface.load(f"models/{models[232]}",live=True,preprocess=False),
|
257 |
-
gr.Interface.load(f"models/{models[233]}",live=True,preprocess=False),
|
258 |
-
gr.Interface.load(f"models/{models[234]}",live=True,preprocess=False),
|
259 |
-
gr.Interface.load(f"models/{models[235]}",live=True,preprocess=False),
|
260 |
-
gr.Interface.load(f"models/{models[236]}",live=True,preprocess=False),
|
261 |
-
gr.Interface.load(f"models/{models[237]}",live=True,preprocess=False),
|
262 |
-
gr.Interface.load(f"models/{models[238]}",live=True,preprocess=False),
|
263 |
-
gr.Interface.load(f"models/{models[239]}",live=True,preprocess=False),
|
264 |
-
|
265 |
-
gr.Interface.load(f"models/{models[240]}",live=True,preprocess=False),
|
266 |
-
gr.Interface.load(f"models/{models[241]}",live=True,preprocess=False),
|
267 |
-
gr.Interface.load(f"models/{models[242]}",live=True,preprocess=False),
|
268 |
-
gr.Interface.load(f"models/{models[243]}",live=True,preprocess=False),
|
269 |
-
gr.Interface.load(f"models/{models[244]}",live=True,preprocess=False),
|
270 |
-
gr.Interface.load(f"models/{models[245]}",live=True,preprocess=False),
|
271 |
-
gr.Interface.load(f"models/{models[246]}",live=True,preprocess=False),
|
272 |
-
gr.Interface.load(f"models/{models[247]}",live=True,preprocess=False),
|
273 |
-
gr.Interface.load(f"models/{models[248]}",live=True,preprocess=False),
|
274 |
-
gr.Interface.load(f"models/{models[249]}",live=True,preprocess=False),
|
275 |
-
|
276 |
-
gr.Interface.load(f"models/{models[250]}",live=True,preprocess=False),
|
277 |
-
gr.Interface.load(f"models/{models[251]}",live=True,preprocess=False),
|
278 |
-
gr.Interface.load(f"models/{models[252]}",live=True,preprocess=False),
|
279 |
-
gr.Interface.load(f"models/{models[253]}",live=True,preprocess=False),
|
280 |
-
gr.Interface.load(f"models/{models[254]}",live=True,preprocess=False),
|
281 |
-
gr.Interface.load(f"models/{models[255]}",live=True,preprocess=False),
|
282 |
-
gr.Interface.load(f"models/{models[256]}",live=True,preprocess=False),
|
283 |
-
gr.Interface.load(f"models/{models[257]}",live=True,preprocess=False),
|
284 |
-
gr.Interface.load(f"models/{models[258]}",live=True,preprocess=False),
|
285 |
-
gr.Interface.load(f"models/{models[259]}",live=True,preprocess=False),
|
286 |
-
|
287 |
-
gr.Interface.load(f"models/{models[260]}",live=True,preprocess=False),
|
288 |
-
gr.Interface.load(f"models/{models[261]}",live=True,preprocess=False),
|
289 |
-
gr.Interface.load(f"models/{models[262]}",live=True,preprocess=False),
|
290 |
-
gr.Interface.load(f"models/{models[263]}",live=True,preprocess=False),
|
291 |
-
gr.Interface.load(f"models/{models[264]}",live=True,preprocess=False),
|
292 |
-
gr.Interface.load(f"models/{models[265]}",live=True,preprocess=False),
|
293 |
-
gr.Interface.load(f"models/{models[266]}",live=True,preprocess=False),
|
294 |
-
gr.Interface.load(f"models/{models[267]}",live=True,preprocess=False),
|
295 |
-
gr.Interface.load(f"models/{models[268]}",live=True,preprocess=False),
|
296 |
-
gr.Interface.load(f"models/{models[269]}",live=True,preprocess=False),
|
297 |
-
|
298 |
-
gr.Interface.load(f"models/{models[270]}",live=True,preprocess=False),
|
299 |
-
gr.Interface.load(f"models/{models[271]}",live=True,preprocess=False),
|
300 |
-
gr.Interface.load(f"models/{models[272]}",live=True,preprocess=False),
|
301 |
-
gr.Interface.load(f"models/{models[273]}",live=True,preprocess=False),
|
302 |
-
gr.Interface.load(f"models/{models[274]}",live=True,preprocess=False),
|
303 |
-
gr.Interface.load(f"models/{models[275]}",live=True,preprocess=False),
|
304 |
-
gr.Interface.load(f"models/{models[276]}",live=True,preprocess=False),
|
305 |
-
gr.Interface.load(f"models/{models[277]}",live=True,preprocess=False),
|
306 |
-
gr.Interface.load(f"models/{models[278]}",live=True,preprocess=False),
|
307 |
-
gr.Interface.load(f"models/{models[279]}",live=True,preprocess=False),
|
308 |
-
|
309 |
-
gr.Interface.load(f"models/{models[280]}",live=True,preprocess=False),
|
310 |
-
gr.Interface.load(f"models/{models[281]}",live=True,preprocess=False),
|
311 |
-
gr.Interface.load(f"models/{models[282]}",live=True,preprocess=False),
|
312 |
-
gr.Interface.load(f"models/{models[283]}",live=True,preprocess=False),
|
313 |
-
gr.Interface.load(f"models/{models[284]}",live=True,preprocess=False),
|
314 |
-
gr.Interface.load(f"models/{models[285]}",live=True,preprocess=False),
|
315 |
-
gr.Interface.load(f"models/{models[286]}",live=True,preprocess=False),
|
316 |
-
gr.Interface.load(f"models/{models[287]}",live=True,preprocess=False),
|
317 |
-
gr.Interface.load(f"models/{models[288]}",live=True,preprocess=False),
|
318 |
-
gr.Interface.load(f"models/{models[289]}",live=True,preprocess=False),
|
319 |
-
|
320 |
-
gr.Interface.load(f"models/{models[290]}",live=True,preprocess=False),
|
321 |
-
gr.Interface.load(f"models/{models[291]}",live=True,preprocess=False),
|
322 |
-
gr.Interface.load(f"models/{models[292]}",live=True,preprocess=False),
|
323 |
-
gr.Interface.load(f"models/{models[293]}",live=True,preprocess=False),
|
324 |
-
gr.Interface.load(f"models/{models[294]}",live=True,preprocess=False),
|
325 |
-
gr.Interface.load(f"models/{models[295]}",live=True,preprocess=False),
|
326 |
-
gr.Interface.load(f"models/{models[296]}",live=True,preprocess=False),
|
327 |
-
gr.Interface.load(f"models/{models[297]}",live=True,preprocess=False),
|
328 |
-
gr.Interface.load(f"models/{models[298]}",live=True,preprocess=False),
|
329 |
-
gr.Interface.load(f"models/{models[299]}",live=True,preprocess=False),
|
330 |
-
|
331 |
-
gr.Interface.load(f"models/{models[300]}",live=True,preprocess=False),
|
332 |
-
gr.Interface.load(f"models/{models[301]}",live=True,preprocess=False),
|
333 |
-
gr.Interface.load(f"models/{models[302]}",live=True,preprocess=False),
|
334 |
-
gr.Interface.load(f"models/{models[303]}",live=True,preprocess=False),
|
335 |
-
gr.Interface.load(f"models/{models[304]}",live=True,preprocess=False),
|
336 |
-
gr.Interface.load(f"models/{models[305]}",live=True,preprocess=False),
|
337 |
-
gr.Interface.load(f"models/{models[306]}",live=True,preprocess=False),
|
338 |
-
gr.Interface.load(f"models/{models[307]}",live=True,preprocess=False),
|
339 |
-
gr.Interface.load(f"models/{models[308]}",live=True,preprocess=False),
|
340 |
-
gr.Interface.load(f"models/{models[309]}",live=True,preprocess=False),
|
341 |
-
|
342 |
-
gr.Interface.load(f"models/{models[310]}",live=True,preprocess=False),
|
343 |
-
gr.Interface.load(f"models/{models[311]}",live=True,preprocess=False),
|
344 |
-
gr.Interface.load(f"models/{models[312]}",live=True,preprocess=False),
|
345 |
-
gr.Interface.load(f"models/{models[313]}",live=True,preprocess=False),
|
346 |
-
gr.Interface.load(f"models/{models[314]}",live=True,preprocess=False),
|
347 |
-
gr.Interface.load(f"models/{models[315]}",live=True,preprocess=False),
|
348 |
-
gr.Interface.load(f"models/{models[316]}",live=True,preprocess=False),
|
349 |
-
gr.Interface.load(f"models/{models[317]}",live=True,preprocess=False),
|
350 |
-
gr.Interface.load(f"models/{models[318]}",live=True,preprocess=False),
|
351 |
-
gr.Interface.load(f"models/{models[319]}",live=True,preprocess=False),
|
352 |
-
|
353 |
-
gr.Interface.load(f"models/{models[320]}",live=True,preprocess=False),
|
354 |
-
gr.Interface.load(f"models/{models[321]}",live=True,preprocess=False),
|
355 |
-
gr.Interface.load(f"models/{models[322]}",live=True,preprocess=False),
|
356 |
-
gr.Interface.load(f"models/{models[323]}",live=True,preprocess=False),
|
357 |
-
gr.Interface.load(f"models/{models[324]}",live=True,preprocess=False),
|
358 |
-
gr.Interface.load(f"models/{models[325]}",live=True,preprocess=False),
|
359 |
-
gr.Interface.load(f"models/{models[326]}",live=True,preprocess=False),
|
360 |
-
gr.Interface.load(f"models/{models[327]}",live=True,preprocess=False),
|
361 |
-
gr.Interface.load(f"models/{models[328]}",live=True,preprocess=False),
|
362 |
-
gr.Interface.load(f"models/{models[329]}",live=True,preprocess=False),
|
363 |
-
|
364 |
-
gr.Interface.load(f"models/{models[330]}",live=True,preprocess=False),
|
365 |
-
gr.Interface.load(f"models/{models[331]}",live=True,preprocess=False),
|
366 |
-
gr.Interface.load(f"models/{models[332]}",live=True,preprocess=False),
|
367 |
-
gr.Interface.load(f"models/{models[333]}",live=True,preprocess=False),
|
368 |
-
gr.Interface.load(f"models/{models[334]}",live=True,preprocess=False),
|
369 |
-
gr.Interface.load(f"models/{models[335]}",live=True,preprocess=False),
|
370 |
-
gr.Interface.load(f"models/{models[336]}",live=True,preprocess=False),
|
371 |
-
gr.Interface.load(f"models/{models[337]}",live=True,preprocess=False),
|
372 |
-
gr.Interface.load(f"models/{models[338]}",live=True,preprocess=False),
|
373 |
-
gr.Interface.load(f"models/{models[339]}",live=True,preprocess=False),
|
374 |
-
|
375 |
-
gr.Interface.load(f"models/{models[340]}",live=True,preprocess=False),
|
376 |
-
gr.Interface.load(f"models/{models[341]}",live=True,preprocess=False),
|
377 |
-
gr.Interface.load(f"models/{models[342]}",live=True,preprocess=False),
|
378 |
-
gr.Interface.load(f"models/{models[343]}",live=True,preprocess=False),
|
379 |
-
gr.Interface.load(f"models/{models[344]}",live=True,preprocess=False),
|
380 |
-
gr.Interface.load(f"models/{models[345]}",live=True,preprocess=False),
|
381 |
-
gr.Interface.load(f"models/{models[346]}",live=True,preprocess=False),
|
382 |
-
gr.Interface.load(f"models/{models[347]}",live=True,preprocess=False),
|
383 |
-
gr.Interface.load(f"models/{models[348]}",live=True,preprocess=False),
|
384 |
-
gr.Interface.load(f"models/{models[349]}",live=True,preprocess=False),
|
385 |
-
gr.Interface.load(f"models/{models[350]}",live=True,preprocess=False),
|
386 |
-
|
387 |
-
gr.Interface.load(f"models/{models[351]}",live=True,preprocess=False),
|
388 |
-
gr.Interface.load(f"models/{models[352]}",live=True,preprocess=False),
|
389 |
-
gr.Interface.load(f"models/{models[353]}",live=True,preprocess=False),
|
390 |
-
gr.Interface.load(f"models/{models[354]}",live=True,preprocess=False),
|
391 |
-
gr.Interface.load(f"models/{models[355]}",live=True,preprocess=False),
|
392 |
-
gr.Interface.load(f"models/{models[356]}",live=True,preprocess=False),
|
393 |
-
gr.Interface.load(f"models/{models[357]}",live=True,preprocess=False),
|
394 |
-
gr.Interface.load(f"models/{models[358]}",live=True,preprocess=False),
|
395 |
-
gr.Interface.load(f"models/{models[359]}",live=True,preprocess=False),
|
396 |
-
|
397 |
-
gr.Interface.load(f"models/{models[360]}",live=True,preprocess=False),
|
398 |
-
gr.Interface.load(f"models/{models[361]}",live=True,preprocess=False),
|
399 |
-
gr.Interface.load(f"models/{models[362]}",live=True,preprocess=False),
|
400 |
-
gr.Interface.load(f"models/{models[363]}",live=True,preprocess=False),
|
401 |
-
gr.Interface.load(f"models/{models[364]}",live=True,preprocess=False),
|
402 |
-
gr.Interface.load(f"models/{models[365]}",live=True,preprocess=False),
|
403 |
-
gr.Interface.load(f"models/{models[366]}",live=True,preprocess=False),
|
404 |
-
gr.Interface.load(f"models/{models[367]}",live=True,preprocess=False),
|
405 |
-
gr.Interface.load(f"models/{models[368]}",live=True,preprocess=False),
|
406 |
-
gr.Interface.load(f"models/{models[369]}",live=True,preprocess=False),
|
407 |
-
|
408 |
-
gr.Interface.load(f"models/{models[370]}",live=True,preprocess=False),
|
409 |
-
gr.Interface.load(f"models/{models[371]}",live=True,preprocess=False),
|
410 |
-
gr.Interface.load(f"models/{models[372]}",live=True,preprocess=False),
|
411 |
-
gr.Interface.load(f"models/{models[373]}",live=True,preprocess=False),
|
412 |
-
gr.Interface.load(f"models/{models[374]}",live=True,preprocess=False),
|
413 |
-
gr.Interface.load(f"models/{models[375]}",live=True,preprocess=False),
|
414 |
-
gr.Interface.load(f"models/{models[376]}",live=True,preprocess=False),
|
415 |
-
gr.Interface.load(f"models/{models[377]}",live=True,preprocess=False),
|
416 |
-
gr.Interface.load(f"models/{models[378]}",live=True,preprocess=False),
|
417 |
-
gr.Interface.load(f"models/{models[379]}",live=True,preprocess=False),
|
418 |
-
|
419 |
-
gr.Interface.load(f"models/{models[380]}",live=True,preprocess=False),
|
420 |
-
gr.Interface.load(f"models/{models[381]}",live=True,preprocess=False),
|
421 |
-
gr.Interface.load(f"models/{models[382]}",live=True,preprocess=False),
|
422 |
-
gr.Interface.load(f"models/{models[383]}",live=True,preprocess=False),
|
423 |
-
gr.Interface.load(f"models/{models[384]}",live=True,preprocess=False),
|
424 |
-
gr.Interface.load(f"models/{models[385]}",live=True,preprocess=False),
|
425 |
-
gr.Interface.load(f"models/{models[386]}",live=True,preprocess=False),
|
426 |
-
gr.Interface.load(f"models/{models[387]}",live=True,preprocess=False),
|
427 |
-
gr.Interface.load(f"models/{models[388]}",live=True,preprocess=False),
|
428 |
-
gr.Interface.load(f"models/{models[389]}",live=True,preprocess=False),
|
429 |
-
|
430 |
-
gr.Interface.load(f"models/{models[390]}",live=True,preprocess=False),
|
431 |
-
gr.Interface.load(f"models/{models[391]}",live=True,preprocess=False),
|
432 |
-
gr.Interface.load(f"models/{models[392]}",live=True,preprocess=False),
|
433 |
-
gr.Interface.load(f"models/{models[393]}",live=True,preprocess=False),
|
434 |
-
gr.Interface.load(f"models/{models[394]}",live=True,preprocess=False),
|
435 |
-
gr.Interface.load(f"models/{models[395]}",live=True,preprocess=False),
|
436 |
-
gr.Interface.load(f"models/{models[396]}",live=True,preprocess=False),
|
437 |
-
gr.Interface.load(f"models/{models[397]}",live=True,preprocess=False),
|
438 |
-
gr.Interface.load(f"models/{models[398]}",live=True,preprocess=False),
|
439 |
-
gr.Interface.load(f"models/{models[399]}",live=True,preprocess=False),
|
440 |
-
|
441 |
-
gr.Interface.load(f"models/{models[400]}",live=True,preprocess=False),
|
442 |
-
gr.Interface.load(f"models/{models[401]}",live=True,preprocess=False),
|
443 |
-
gr.Interface.load(f"models/{models[402]}",live=True,preprocess=False),
|
444 |
-
gr.Interface.load(f"models/{models[403]}",live=True,preprocess=False),
|
445 |
-
gr.Interface.load(f"models/{models[404]}",live=True,preprocess=False),
|
446 |
-
gr.Interface.load(f"models/{models[405]}",live=True,preprocess=False),
|
447 |
-
gr.Interface.load(f"models/{models[406]}",live=True,preprocess=False),
|
448 |
-
gr.Interface.load(f"models/{models[407]}",live=True,preprocess=False),
|
449 |
-
gr.Interface.load(f"models/{models[408]}",live=True,preprocess=False),
|
450 |
-
gr.Interface.load(f"models/{models[409]}",live=True,preprocess=False),
|
451 |
-
|
452 |
-
gr.Interface.load(f"models/{models[410]}",live=True,preprocess=False),
|
453 |
-
gr.Interface.load(f"models/{models[411]}",live=True,preprocess=False),
|
454 |
-
gr.Interface.load(f"models/{models[412]}",live=True,preprocess=False),
|
455 |
-
gr.Interface.load(f"models/{models[413]}",live=True,preprocess=False),
|
456 |
-
gr.Interface.load(f"models/{models[414]}",live=True,preprocess=False),
|
457 |
-
gr.Interface.load(f"models/{models[415]}",live=True,preprocess=False),
|
458 |
-
gr.Interface.load(f"models/{models[416]}",live=True,preprocess=False),
|
459 |
-
gr.Interface.load(f"models/{models[417]}",live=True,preprocess=False),
|
460 |
-
gr.Interface.load(f"models/{models[418]}",live=True,preprocess=False),
|
461 |
-
gr.Interface.load(f"models/{models[419]}",live=True,preprocess=False),
|
462 |
-
|
463 |
-
gr.Interface.load(f"models/{models[420]}",live=True,preprocess=False),
|
464 |
-
gr.Interface.load(f"models/{models[421]}",live=True,preprocess=False),
|
465 |
-
gr.Interface.load(f"models/{models[422]}",live=True,preprocess=False),
|
466 |
-
gr.Interface.load(f"models/{models[423]}",live=True,preprocess=False),
|
467 |
-
gr.Interface.load(f"models/{models[424]}",live=True,preprocess=False),
|
468 |
-
gr.Interface.load(f"models/{models[425]}",live=True,preprocess=False),
|
469 |
-
gr.Interface.load(f"models/{models[426]}",live=True,preprocess=False),
|
470 |
-
gr.Interface.load(f"models/{models[427]}",live=True,preprocess=False),
|
471 |
-
gr.Interface.load(f"models/{models[428]}",live=True,preprocess=False),
|
472 |
-
gr.Interface.load(f"models/{models[429]}",live=True,preprocess=False),
|
473 |
-
|
474 |
-
gr.Interface.load(f"models/{models[430]}",live=True,preprocess=False),
|
475 |
-
gr.Interface.load(f"models/{models[431]}",live=True,preprocess=False),
|
476 |
-
gr.Interface.load(f"models/{models[432]}",live=True,preprocess=False),
|
477 |
-
gr.Interface.load(f"models/{models[433]}",live=True,preprocess=False),
|
478 |
-
gr.Interface.load(f"models/{models[434]}",live=True,preprocess=False),
|
479 |
-
gr.Interface.load(f"models/{models[435]}",live=True,preprocess=False),
|
480 |
-
gr.Interface.load(f"models/{models[436]}",live=True,preprocess=False),
|
481 |
-
gr.Interface.load(f"models/{models[437]}",live=True,preprocess=False),
|
482 |
-
gr.Interface.load(f"models/{models[438]}",live=True,preprocess=False),
|
483 |
-
gr.Interface.load(f"models/{models[439]}",live=True,preprocess=False),
|
484 |
-
|
485 |
-
gr.Interface.load(f"models/{models[440]}",live=True,preprocess=False),
|
486 |
-
gr.Interface.load(f"models/{models[441]}",live=True,preprocess=False),
|
487 |
-
gr.Interface.load(f"models/{models[442]}",live=True,preprocess=False),
|
488 |
-
gr.Interface.load(f"models/{models[443]}",live=True,preprocess=False),
|
489 |
-
gr.Interface.load(f"models/{models[444]}",live=True,preprocess=False),
|
490 |
-
gr.Interface.load(f"models/{models[445]}",live=True,preprocess=False),
|
491 |
-
gr.Interface.load(f"models/{models[446]}",live=True,preprocess=False),
|
492 |
-
gr.Interface.load(f"models/{models[447]}",live=True,preprocess=False),
|
493 |
-
gr.Interface.load(f"models/{models[448]}",live=True,preprocess=False),
|
494 |
-
gr.Interface.load(f"models/{models[449]}",live=True,preprocess=False),
|
495 |
-
|
496 |
-
gr.Interface.load(f"models/{models[450]}",live=True,preprocess=False),
|
497 |
-
gr.Interface.load(f"models/{models[451]}",live=True,preprocess=False),
|
498 |
-
gr.Interface.load(f"models/{models[452]}",live=True,preprocess=False),
|
499 |
-
gr.Interface.load(f"models/{models[453]}",live=True,preprocess=False),
|
500 |
-
gr.Interface.load(f"models/{models[454]}",live=True,preprocess=False),
|
501 |
-
gr.Interface.load(f"models/{models[455]}",live=True,preprocess=False),
|
502 |
-
gr.Interface.load(f"models/{models[456]}",live=True,preprocess=False),
|
503 |
-
gr.Interface.load(f"models/{models[457]}",live=True,preprocess=False),
|
504 |
-
gr.Interface.load(f"models/{models[458]}",live=True,preprocess=False),
|
505 |
-
gr.Interface.load(f"models/{models[459]}",live=True,preprocess=False),
|
506 |
-
|
507 |
-
gr.Interface.load(f"models/{models[460]}",live=True,preprocess=False),
|
508 |
-
gr.Interface.load(f"models/{models[461]}",live=True,preprocess=False),
|
509 |
-
gr.Interface.load(f"models/{models[462]}",live=True,preprocess=False),
|
510 |
-
gr.Interface.load(f"models/{models[463]}",live=True,preprocess=False),
|
511 |
-
gr.Interface.load(f"models/{models[464]}",live=True,preprocess=False),
|
512 |
-
gr.Interface.load(f"models/{models[465]}",live=True,preprocess=False),
|
513 |
-
gr.Interface.load(f"models/{models[466]}",live=True,preprocess=False),
|
514 |
-
gr.Interface.load(f"models/{models[467]}",live=True,preprocess=False),
|
515 |
-
gr.Interface.load(f"models/{models[469]}",live=True,preprocess=False),
|
516 |
-
|
517 |
-
gr.Interface.load(f"models/{models[470]}",live=True,preprocess=False),
|
518 |
-
gr.Interface.load(f"models/{models[471]}",live=True,preprocess=False),
|
519 |
-
gr.Interface.load(f"models/{models[472]}",live=True,preprocess=False),
|
520 |
-
gr.Interface.load(f"models/{models[473]}",live=True,preprocess=False),
|
521 |
-
gr.Interface.load(f"models/{models[474]}",live=True,preprocess=False),
|
522 |
-
gr.Interface.load(f"models/{models[475]}",live=True,preprocess=False),
|
523 |
-
gr.Interface.load(f"models/{models[476]}",live=True,preprocess=False),
|
524 |
-
gr.Interface.load(f"models/{models[477]}",live=True,preprocess=False),
|
525 |
-
gr.Interface.load(f"models/{models[478]}",live=True,preprocess=False),
|
526 |
-
gr.Interface.load(f"models/{models[479]}",live=True,preprocess=False),
|
527 |
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
gr.Interface.load(f"models/{models[487]}",live=True,preprocess=False),
|
536 |
-
gr.Interface.load(f"models/{models[488]}",live=True,preprocess=False),
|
537 |
-
gr.Interface.load(f"models/{models[489]}",live=True,preprocess=False),
|
538 |
-
|
539 |
-
gr.Interface.load(f"models/{models[490]}",live=True,preprocess=False),
|
540 |
-
gr.Interface.load(f"models/{models[491]}",live=True,preprocess=False),
|
541 |
-
gr.Interface.load(f"models/{models[492]}",live=True,preprocess=False),
|
542 |
-
gr.Interface.load(f"models/{models[493]}",live=True,preprocess=False),
|
543 |
-
gr.Interface.load(f"models/{models[494]}",live=True,preprocess=False),
|
544 |
-
gr.Interface.load(f"models/{models[495]}",live=True,preprocess=False),
|
545 |
-
gr.Interface.load(f"models/{models[496]}",live=True,preprocess=False),
|
546 |
-
gr.Interface.load(f"models/{models[497]}",live=True,preprocess=False),
|
547 |
-
gr.Interface.load(f"models/{models[498]}",live=True,preprocess=False),
|
548 |
-
gr.Interface.load(f"models/{models[499]}",live=True,preprocess=False),
|
549 |
-
|
550 |
-
gr.Interface.load(f"models/{models[500]}",live=True,preprocess=False),
|
551 |
-
gr.Interface.load(f"models/{models[501]}",live=True,preprocess=False),
|
552 |
-
gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False),
|
553 |
-
gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False),
|
554 |
-
gr.Interface.load(f"models/{models[504]}",live=True,preprocess=False),
|
555 |
-
gr.Interface.load(f"models/{models[505]}",live=True,preprocess=False),
|
556 |
-
gr.Interface.load(f"models/{models[506]}",live=True,preprocess=False),
|
557 |
-
gr.Interface.load(f"models/{models[507]}",live=True,preprocess=False),
|
558 |
-
gr.Interface.load(f"models/{models[508]}",live=True,preprocess=False),
|
559 |
-
gr.Interface.load(f"models/{models[509]}",live=True,preprocess=False),
|
560 |
-
gr.Interface.load(f"models/{models[510]}",live=True,preprocess=False),
|
561 |
-
|
562 |
-
gr.Interface.load(f"models/{models[511]}",live=True,preprocess=False),
|
563 |
-
gr.Interface.load(f"models/{models[512]}",live=True,preprocess=False),
|
564 |
-
gr.Interface.load(f"models/{models[513]}",live=True,preprocess=False),
|
565 |
-
gr.Interface.load(f"models/{models[514]}",live=True,preprocess=False),
|
566 |
-
gr.Interface.load(f"models/{models[515]}",live=True,preprocess=False),
|
567 |
-
gr.Interface.load(f"models/{models[516]}",live=True,preprocess=False),
|
568 |
-
gr.Interface.load(f"models/{models[517]}",live=True,preprocess=False),
|
569 |
-
gr.Interface.load(f"models/{models[518]}",live=True,preprocess=False),
|
570 |
-
gr.Interface.load(f"models/{models[519]}",live=True,preprocess=False),
|
571 |
-
gr.Interface.load(f"models/{models[520]}",live=True,preprocess=False),
|
572 |
-
|
573 |
-
gr.Interface.load(f"models/{models[521]}",live=True,preprocess=False),
|
574 |
-
gr.Interface.load(f"models/{models[522]}",live=True,preprocess=False),
|
575 |
-
gr.Interface.load(f"models/{models[523]}",live=True,preprocess=False),
|
576 |
-
gr.Interface.load(f"models/{models[524]}",live=True,preprocess=False),
|
577 |
-
gr.Interface.load(f"models/{models[525]}",live=True,preprocess=False),
|
578 |
-
gr.Interface.load(f"models/{models[526]}",live=True,preprocess=False),
|
579 |
-
gr.Interface.load(f"models/{models[527]}",live=True,preprocess=False),
|
580 |
-
gr.Interface.load(f"models/{models[528]}",live=True,preprocess=False),
|
581 |
-
gr.Interface.load(f"models/{models[529]}",live=True,preprocess=False),
|
582 |
-
gr.Interface.load(f"models/{models[530]}",live=True,preprocess=False),
|
583 |
-
|
584 |
-
gr.Interface.load(f"models/{models[531]}",live=True,preprocess=False),
|
585 |
-
gr.Interface.load(f"models/{models[532]}",live=True,preprocess=False),
|
586 |
-
gr.Interface.load(f"models/{models[533]}",live=True,preprocess=False),
|
587 |
-
gr.Interface.load(f"models/{models[534]}",live=True,preprocess=False),
|
588 |
-
gr.Interface.load(f"models/{models[535]}",live=True,preprocess=False),
|
589 |
-
gr.Interface.load(f"models/{models[536]}",live=True,preprocess=False),
|
590 |
-
gr.Interface.load(f"models/{models[537]}",live=True,preprocess=False),
|
591 |
-
gr.Interface.load(f"models/{models[538]}",live=True,preprocess=False),
|
592 |
-
gr.Interface.load(f"models/{models[539]}",live=True,preprocess=False),
|
593 |
-
|
594 |
-
gr.Interface.load(f"models/{models[540]}",live=True,preprocess=False),
|
595 |
-
gr.Interface.load(f"models/{models[541]}",live=True,preprocess=False),
|
596 |
-
gr.Interface.load(f"models/{models[542]}",live=True,preprocess=False),
|
597 |
-
gr.Interface.load(f"models/{models[543]}",live=True,preprocess=False),
|
598 |
-
gr.Interface.load(f"models/{models[544]}",live=True,preprocess=False),
|
599 |
-
gr.Interface.load(f"models/{models[545]}",live=True,preprocess=False),
|
600 |
-
gr.Interface.load(f"models/{models[546]}",live=True,preprocess=False),
|
601 |
-
gr.Interface.load(f"models/{models[547]}",live=True,preprocess=False),
|
602 |
-
gr.Interface.load(f"models/{models[548]}",live=True,preprocess=False),
|
603 |
-
gr.Interface.load(f"models/{models[549]}",live=True,preprocess=False),
|
604 |
|
605 |
-
gr.Interface.load(f"models/{models[550]}",live=True,preprocess=False),
|
606 |
-
gr.Interface.load(f"models/{models[551]}",live=True,preprocess=False),
|
607 |
-
gr.Interface.load(f"models/{models[552]}",live=True,preprocess=False),
|
608 |
-
gr.Interface.load(f"models/{models[553]}",live=True,preprocess=False),
|
609 |
-
gr.Interface.load(f"models/{models[554]}",live=True,preprocess=False),
|
610 |
-
gr.Interface.load(f"models/{models[555]}",live=True,preprocess=False),
|
611 |
-
gr.Interface.load(f"models/{models[556]}",live=True,preprocess=False),
|
612 |
-
gr.Interface.load(f"models/{models[557]}",live=True,preprocess=False),
|
613 |
-
gr.Interface.load(f"models/{models[558]}",live=True,preprocess=False),
|
614 |
-
gr.Interface.load(f"models/{models[559]}",live=True,preprocess=False),
|
615 |
-
gr.Interface.load(f"models/{models[560]}",live=True,preprocess=False),
|
616 |
|
617 |
-
|
618 |
-
gr.Interface.load(f"models/{models[562]}",live=True,preprocess=False),
|
619 |
-
gr.Interface.load(f"models/{models[563]}",live=True,preprocess=False),
|
620 |
-
gr.Interface.load(f"models/{models[564]}",live=True,preprocess=False),
|
621 |
-
gr.Interface.load(f"models/{models[565]}",live=True,preprocess=False),
|
622 |
-
gr.Interface.load(f"models/{models[566]}",live=True,preprocess=False),
|
623 |
-
gr.Interface.load(f"models/{models[567]}",live=True,preprocess=False),
|
624 |
-
gr.Interface.load(f"models/{models[568]}",live=True,preprocess=False),
|
625 |
-
gr.Interface.load(f"models/{models[569]}",live=True,preprocess=False),
|
626 |
|
627 |
-
gr.Interface.load(f"models/{models[570]}",live=True,preprocess=False),
|
628 |
-
gr.Interface.load(f"models/{models[571]}",live=True,preprocess=False),
|
629 |
-
gr.Interface.load(f"models/{models[572]}",live=True,preprocess=False),
|
630 |
-
gr.Interface.load(f"models/{models[573]}",live=True,preprocess=False),
|
631 |
-
gr.Interface.load(f"models/{models[574]}",live=True,preprocess=False),
|
632 |
-
gr.Interface.load(f"models/{models[575]}",live=True,preprocess=False),
|
633 |
-
gr.Interface.load(f"models/{models[576]}",live=True,preprocess=False),
|
634 |
-
gr.Interface.load(f"models/{models[577]}",live=True,preprocess=False),
|
635 |
-
gr.Interface.load(f"models/{models[578]}",live=True,preprocess=False),
|
636 |
-
gr.Interface.load(f"models/{models[579]}",live=True,preprocess=False),
|
637 |
-
gr.Interface.load(f"models/{models[580]}",live=True,preprocess=False),
|
638 |
-
gr.Interface.load(f"models/{models[581]}",live=True,preprocess=False),
|
639 |
-
gr.Interface.load(f"models/{models[582]}",live=True,preprocess=False),
|
640 |
-
gr.Interface.load(f"models/{models[583]}",live=True,preprocess=False),
|
641 |
-
gr.Interface.load(f"models/{models[584]}",live=True,preprocess=False),
|
642 |
-
gr.Interface.load(f"models/{models[585]}",live=True,preprocess=False),
|
643 |
-
gr.Interface.load(f"models/{models[586]}",live=True,preprocess=False),
|
644 |
-
gr.Interface.load(f"models/{models[587]}",live=True,preprocess=False),
|
645 |
-
gr.Interface.load(f"models/{models[588]}",live=True,preprocess=False),
|
646 |
-
gr.Interface.load(f"models/{models[589]}",live=True,preprocess=False),
|
647 |
-
gr.Interface.load(f"models/{models[590]}",live=True,preprocess=False),
|
648 |
-
gr.Interface.load(f"models/{models[591]}",live=True,preprocess=False),
|
649 |
-
gr.Interface.load(f"models/{models[592]}",live=True,preprocess=False),
|
650 |
-
gr.Interface.load(f"models/{models[593]}",live=True,preprocess=False),
|
651 |
-
gr.Interface.load(f"models/{models[594]}",live=True,preprocess=False),
|
652 |
-
gr.Interface.load(f"models/{models[595]}",live=True,preprocess=False),
|
653 |
-
gr.Interface.load(f"models/{models[596]}",live=True,preprocess=False),
|
654 |
-
gr.Interface.load(f"models/{models[597]}",live=True,preprocess=False),
|
655 |
-
gr.Interface.load(f"models/{models[598]}",live=True,preprocess=False),
|
656 |
-
gr.Interface.load(f"models/{models[599]}",live=True,preprocess=False),
|
657 |
-
gr.Interface.load(f"models/{models[600]}",live=True,preprocess=False),
|
658 |
|
659 |
-
|
660 |
-
|
661 |
-
gr.Interface.load(f"models/{models[603]}",live=True,preprocess=False),
|
662 |
-
gr.Interface.load(f"models/{models[604]}",live=True,preprocess=False),
|
663 |
-
gr.Interface.load(f"models/{models[605]}",live=True,preprocess=False),
|
664 |
-
gr.Interface.load(f"models/{models[606]}",live=True,preprocess=False),
|
665 |
-
gr.Interface.load(f"models/{models[607]}",live=True,preprocess=False),
|
666 |
-
gr.Interface.load(f"models/{models[608]}",live=True,preprocess=False),
|
667 |
-
gr.Interface.load(f"models/{models[609]}",live=True,preprocess=False),
|
668 |
|
669 |
-
gr.Interface.load(f"models/{models[610]}",live=True,preprocess=False),
|
670 |
-
gr.Interface.load(f"models/{models[611]}",live=True,preprocess=False),
|
671 |
-
gr.Interface.load(f"models/{models[612]}",live=True,preprocess=False),
|
672 |
-
gr.Interface.load(f"models/{models[613]}",live=True,preprocess=False),
|
673 |
-
gr.Interface.load(f"models/{models[614]}",live=True,preprocess=False),
|
674 |
-
gr.Interface.load(f"models/{models[615]}",live=True,preprocess=False),
|
675 |
-
gr.Interface.load(f"models/{models[616]}",live=True,preprocess=False),
|
676 |
-
gr.Interface.load(f"models/{models[617]}",live=True,preprocess=False),
|
677 |
-
gr.Interface.load(f"models/{models[618]}",live=True,preprocess=False),
|
678 |
-
gr.Interface.load(f"models/{models[619]}",live=True,preprocess=False),
|
679 |
|
680 |
-
gr.Interface.load(f"models/{models[620]}",live=True,preprocess=False),
|
681 |
-
gr.Interface.load(f"models/{models[621]}",live=True,preprocess=False),
|
682 |
-
gr.Interface.load(f"models/{models[622]}",live=True,preprocess=False),
|
683 |
-
gr.Interface.load(f"models/{models[623]}",live=True,preprocess=False),
|
684 |
-
gr.Interface.load(f"models/{models[624]}",live=True,preprocess=False),
|
685 |
-
gr.Interface.load(f"models/{models[625]}",live=True,preprocess=False),
|
686 |
-
gr.Interface.load(f"models/{models[626]}",live=True,preprocess=False),
|
687 |
-
gr.Interface.load(f"models/{models[627]}",live=True,preprocess=False),
|
688 |
-
gr.Interface.load(f"models/{models[628]}",live=True,preprocess=False),
|
689 |
-
gr.Interface.load(f"models/{models[629]}",live=True,preprocess=False),
|
690 |
-
gr.Interface.load(f"models/{models[630]}",live=True,preprocess=False),
|
691 |
|
692 |
-
|
693 |
-
|
694 |
-
gr.Interface.load(f"models/{models[633]}",live=True,preprocess=False),
|
695 |
-
gr.Interface.load(f"models/{models[634]}",live=True,preprocess=False),
|
696 |
-
gr.Interface.load(f"models/{models[635]}",live=True,preprocess=False),
|
697 |
-
gr.Interface.load(f"models/{models[636]}",live=True,preprocess=False),
|
698 |
-
gr.Interface.load(f"models/{models[637]}",live=True,preprocess=False),
|
699 |
-
gr.Interface.load(f"models/{models[638]}",live=True,preprocess=False),
|
700 |
-
gr.Interface.load(f"models/{models[639]}",live=True,preprocess=False),
|
701 |
-
|
702 |
-
gr.Interface.load(f"models/{models[640]}",live=True,preprocess=False),
|
703 |
-
gr.Interface.load(f"models/{models[641]}",live=True,preprocess=False),
|
704 |
-
gr.Interface.load(f"models/{models[642]}",live=True,preprocess=False),
|
705 |
-
gr.Interface.load(f"models/{models[643]}",live=True,preprocess=False),
|
706 |
-
gr.Interface.load(f"models/{models[644]}",live=True,preprocess=False),
|
707 |
-
gr.Interface.load(f"models/{models[645]}",live=True,preprocess=False),
|
708 |
-
gr.Interface.load(f"models/{models[646]}",live=True,preprocess=False),
|
709 |
-
gr.Interface.load(f"models/{models[647]}",live=True,preprocess=False),
|
710 |
-
gr.Interface.load(f"models/{models[648]}",live=True,preprocess=False),
|
711 |
-
gr.Interface.load(f"models/{models[649]}",live=True,preprocess=False),
|
712 |
|
713 |
-
gr.Interface.load(f"models/{models[650]}",live=True,preprocess=False),
|
714 |
-
gr.Interface.load(f"models/{models[651]}",live=True,preprocess=False),
|
715 |
-
gr.Interface.load(f"models/{models[652]}",live=True,preprocess=False),
|
716 |
-
gr.Interface.load(f"models/{models[653]}",live=True,preprocess=False),
|
717 |
-
gr.Interface.load(f"models/{models[654]}",live=True,preprocess=False),
|
718 |
-
gr.Interface.load(f"models/{models[655]}",live=True,preprocess=False),
|
719 |
-
gr.Interface.load(f"models/{models[656]}",live=True,preprocess=False),
|
720 |
-
gr.Interface.load(f"models/{models[657]}",live=True,preprocess=False),
|
721 |
|
722 |
-
|
723 |
-
|
724 |
-
gr.
|
725 |
-
gr.Interface.load(f"models/{models[659]}",live=True,preprocess=False),
|
726 |
|
727 |
-
gr.Interface.load(f"models/{models[660]}",live=True,preprocess=False),
|
728 |
-
gr.Interface.load(f"models/{models[661]}",live=True,preprocess=False),
|
729 |
-
gr.Interface.load(f"models/{models[662]}",live=True,preprocess=False),
|
730 |
-
gr.Interface.load(f"models/{models[663]}",live=True,preprocess=False),
|
731 |
-
gr.Interface.load(f"models/{models[664]}",live=True,preprocess=False),
|
732 |
-
gr.Interface.load(f"models/{models[665]}",live=True,preprocess=False),
|
733 |
-
gr.Interface.load(f"models/{models[666]}",live=True,preprocess=False),
|
734 |
-
gr.Interface.load(f"models/{models[667]}",live=True,preprocess=False),
|
735 |
-
gr.Interface.load(f"models/{models[668]}",live=True,preprocess=False),
|
736 |
-
gr.Interface.load(f"models/{models[669]}",live=True,preprocess=False),
|
737 |
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
gr.
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
def text_it1(inputs,text_gen1=text_gen1):
|
757 |
-
go_t1=text_gen1(inputs)
|
758 |
-
return(go_t1)
|
759 |
-
|
760 |
-
def set_model(current_model):
|
761 |
-
current_model = models[current_model]
|
762 |
-
return gr.update(label=(f"{current_model}"))
|
763 |
-
|
764 |
-
|
765 |
-
def send_it1(inputs, model_choice): #negative_prompt,
|
766 |
-
proc1=models2[model_choice]
|
767 |
-
output1=proc1(inputs)
|
768 |
-
#negative_prompt=negative_prompt
|
769 |
-
return(output1)
|
770 |
-
css=""""""
|
771 |
-
|
772 |
-
|
773 |
-
with gr.Blocks(css=css) as myface:
|
774 |
-
gr.HTML("""
|
775 |
-
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
776 |
<div>
|
777 |
-
<style>
|
778 |
-
h1 {
|
779 |
-
font-size: 6em;
|
780 |
-
color: #c9c9c9;
|
781 |
-
margin-top: 30px;
|
782 |
-
margin-bottom: 30px;
|
783 |
-
text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;
|
784 |
-
}
|
785 |
-
h3 {
|
786 |
-
color: #c9c9c9; !important;
|
787 |
-
}
|
788 |
-
h4 {
|
789 |
-
color: #ffffff; !important;
|
790 |
-
}
|
791 |
-
.gradio-container {
|
792 |
-
background-image: linear-gradient(#252525, #1e1e1e, #181818) !important;
|
793 |
-
color: #aaaaaa !important;
|
794 |
-
font-family: 'IBM Plex Sans', sans-serif !important;
|
795 |
-
}
|
796 |
-
.text-gray-500 {
|
797 |
-
color: #c9c9c9 !important;
|
798 |
-
}
|
799 |
-
.gr-box {
|
800 |
-
background-image: linear-gradient(#181818, #1e1e1e, #252525) !important;
|
801 |
-
border-top-color: #000000 !important;
|
802 |
-
border-right-color: #ffffff !important;
|
803 |
-
border-bottom-color: #ffffff !important;
|
804 |
-
border-left-color: #000000 !important;
|
805 |
-
}
|
806 |
-
.gr-input {
|
807 |
-
color: #c9c9c9; !important;
|
808 |
-
background-color: #252525 !important;
|
809 |
-
}
|
810 |
-
:root {
|
811 |
-
--neutral-100: #000000 !important;
|
812 |
-
}
|
813 |
-
</style>
|
814 |
<body>
|
815 |
-
<div class="center"><
|
816 |
</div>
|
817 |
</body>
|
818 |
</div>
|
819 |
-
<p style="margin-bottom: 9px; color: #aaaaaa;">
|
820 |
-
<h3>Top 684 Blitz Diffusion Models - A permanently online (unless huggingface is acting up, ha!) backup copy of <a href="https://huggingface.co/spaces/Yntec/ToyWorld"><u><p style="color:#8150df;"><b>Toy World!</b></p></u></a></h3></p>
|
821 |
</div>
|
822 |
-
|
823 |
-
|
824 |
-
with gr.
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
gr.
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
.
|
845 |
-
|
846 |
-
font-size: 98% !important;
|
847 |
-
text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important;
|
848 |
-
background-image: linear-gradient(#a489d2, #635a76) !important;
|
849 |
-
border-top-color: #000000 !important;
|
850 |
-
border-right-color: #ffffff !important;
|
851 |
-
border-bottom-color: #ffffff !important;
|
852 |
-
border-left-color: #000000 !important;
|
853 |
-
}
|
854 |
-
.gr-button:hover {
|
855 |
-
filter: brightness(130%);
|
856 |
-
}
|
857 |
-
</style>""")
|
858 |
-
run=gr.Button("Generate Image")
|
859 |
-
with gr.Row():
|
860 |
-
with gr.Column(style="width=800px"):
|
861 |
-
output1=gr.Image(label=(f"{current_model}"))
|
862 |
-
|
863 |
-
|
864 |
-
with gr.Row():
|
865 |
-
with gr.Column(scale=50):
|
866 |
-
input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea",lines=2)
|
867 |
-
see_prompts=gr.Button("Extend Idea -> overwrite the contents of the `Your PromptΒ΄ box above")
|
868 |
-
use_short=gr.Button("Copy the contents of this box to the `Your PromptΒ΄ box above")
|
869 |
-
def short_prompt(inputs):
|
870 |
-
return(inputs)
|
871 |
-
|
872 |
-
model_name1.change(set_model,inputs=model_name1,outputs=[output1])
|
873 |
-
|
874 |
-
run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
|
875 |
-
|
876 |
-
use_short.click(short_prompt,inputs=[input_text],outputs=magic1)
|
877 |
-
|
878 |
-
see_prompts.click(text_it1,inputs=[input_text],outputs=magic1)
|
879 |
-
|
880 |
-
myface.queue(concurrency_count=200)
|
881 |
-
myface.launch(inline=True, show_api=False, max_threads=400)
|
|
|
1 |
import gradio as gr
|
2 |
+
from random import randint
|
|
|
|
|
3 |
from all_models import models
|
|
|
|
|
4 |
|
5 |
+
def load_fn(models):
|
6 |
+
global models_load
|
7 |
+
models_load = {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
for model in models:
|
10 |
+
if model not in models_load.keys():
|
11 |
+
try:
|
12 |
+
m = gr.load(f'models/{model}')
|
13 |
+
except Exception as error:
|
14 |
+
m = gr.Interface(lambda txt: None, ['text'], ['image'])
|
15 |
+
models_load.update({model: m})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
load_fn(models)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
num_models = 6
|
22 |
+
default_models = models[:num_models]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
+
def extend_choices(choices):
|
27 |
+
return choices + (num_models - len(choices)) * ['NA']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
+
def update_imgbox(choices):
|
31 |
+
choices_plus = extend_choices(choices)
|
32 |
+
return [gr.Image(None, label = m, visible = (m != 'NA')) for m in choices_plus]
|
|
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
def gen_fn(model_str, prompt):
|
36 |
+
if model_str == 'NA':
|
37 |
+
return None
|
38 |
+
noise = str('') #str(randint(0, 99999999999))
|
39 |
+
return models_load[model_str](f'{prompt} {noise}')
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
with gr.Blocks() as demo:
|
44 |
+
with gr.Tab('The Dream'):
|
45 |
+
txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
|
46 |
+
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
47 |
+
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
48 |
+
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
49 |
+
gr.HTML(
|
50 |
+
"""
|
51 |
+
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
<body>
|
54 |
+
<div class="center"><p style="margin-bottom: 10px; color: #000000;">Scroll down to see more images and select models.</p>
|
55 |
</div>
|
56 |
</body>
|
57 |
</div>
|
|
|
|
|
58 |
</div>
|
59 |
+
"""
|
60 |
+
)
|
61 |
+
with gr.Row():
|
62 |
+
output = [gr.Image(label = m, min_width=480) for m in default_models]
|
63 |
+
current_models = [gr.Textbox(m, visible = False) for m in default_models]
|
64 |
+
|
65 |
+
for m, o in zip(current_models, output):
|
66 |
+
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
67 |
+
stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
|
68 |
+
with gr.Accordion('Model selection'):
|
69 |
+
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 686 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
70 |
+
model_choice.change(update_imgbox, model_choice, output)
|
71 |
+
model_choice.change(extend_choices, model_choice, current_models)
|
72 |
+
with gr.Row():
|
73 |
+
gr.HTML(
|
74 |
+
"""
|
75 |
+
<div class="footer">
|
76 |
+
<p> Based on the <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier!
|
77 |
+
</p>
|
78 |
+
"""
|
79 |
+
)
|
80 |
+
|
81 |
+
demo.queue(concurrency_count = 200)
|
82 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|