Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -162,8 +162,10 @@ with gr.Blocks(theme="ParityError/[email protected]") as demo:
|
|
162 |
)
|
163 |
|
164 |
# Pre-warm all examples
|
|
|
165 |
for preset_example in preset_examples.values():
|
166 |
run_tinystyler("A test.", preset_example["target_texts"], 1, 1.0, 1.0)
|
|
|
167 |
|
168 |
# Initialize the fields with the first example
|
169 |
(
|
|
|
162 |
)
|
163 |
|
164 |
# Pre-warm all examples
|
165 |
+
print("Pre-warming...")
|
166 |
for preset_example in preset_examples.values():
|
167 |
run_tinystyler("A test.", preset_example["target_texts"], 1, 1.0, 1.0)
|
168 |
+
print("Done pre-warming.")
|
169 |
|
170 |
# Initialize the fields with the first example
|
171 |
(
|