Spaces:
Runtime error
Runtime error
Badr AlKhamissi
commited on
Commit
•
7c3835f
1
Parent(s):
8bffede
no caching
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def init_shapes(svg_path, trainable: Mapping[str, bool]):
|
|
162 |
def run_main_ex(word, semantic_concept, num_steps, seed):
|
163 |
prompt_suffix = "minimal flat 2d vector. lineal color. trending on artstation"
|
164 |
font_name = "ArefRuqaa"
|
165 |
-
return list(next(run_main_app(semantic_concept, word, prompt_suffix, font_name, num_steps, seed, 100, 201, 30, 0.5,
|
166 |
|
167 |
def run_main_app(semantic_concept, word, prompt_suffix, font_name, num_steps, seed, dist_loss_weight, pixel_dist_kernel_blur, pixel_dist_sigma, angeles_w, example=0):
|
168 |
|
@@ -387,7 +387,7 @@ with gr.Blocks() as demo:
|
|
387 |
result2
|
388 |
],
|
389 |
fn=run_main_ex,
|
390 |
-
cache_examples=
|
391 |
|
392 |
|
393 |
# inputs
|
|
|
162 |
def run_main_ex(word, semantic_concept, num_steps, seed):
|
163 |
prompt_suffix = "minimal flat 2d vector. lineal color. trending on artstation"
|
164 |
font_name = "ArefRuqaa"
|
165 |
+
return list(next(run_main_app(semantic_concept, word, prompt_suffix, font_name, num_steps, seed, 100, 201, 30, 0.5, 0)))
|
166 |
|
167 |
def run_main_app(semantic_concept, word, prompt_suffix, font_name, num_steps, seed, dist_loss_weight, pixel_dist_kernel_blur, pixel_dist_sigma, angeles_w, example=0):
|
168 |
|
|
|
387 |
result2
|
388 |
],
|
389 |
fn=run_main_ex,
|
390 |
+
cache_examples=False)
|
391 |
|
392 |
|
393 |
# inputs
|