Spaces:
Runtime error
Runtime error
Commit
·
810725e
1
Parent(s):
5e34623
enable_queue=True to avoid 60s timeout
Browse files
app.py
CHANGED
@@ -210,9 +210,9 @@ def generate(text, n_steps):
|
|
210 |
n_iter = int(n_steps)
|
211 |
# init_image=None #@param
|
212 |
weight_decay=1e-5 #@param
|
213 |
-
out_size=
|
214 |
base_size=20 #@param
|
215 |
-
n_layers=
|
216 |
scale=3 #@param
|
217 |
|
218 |
|
@@ -264,4 +264,4 @@ iface = gr.Interface(fn=generate,
|
|
264 |
outputs=[
|
265 |
gr.outputs.Image(type="numpy", label="Output Image")
|
266 |
],
|
267 |
-
).launch()
|
|
|
210 |
n_iter = int(n_steps)
|
211 |
# init_image=None #@param
|
212 |
weight_decay=1e-5 #@param
|
213 |
+
out_size=180 #@param
|
214 |
base_size=20 #@param
|
215 |
+
n_layers=3 #@param
|
216 |
scale=3 #@param
|
217 |
|
218 |
|
|
|
264 |
outputs=[
|
265 |
gr.outputs.Image(type="numpy", label="Output Image")
|
266 |
],
|
267 |
+
).launch(enable_queue=True)
|