Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
825bfd6
1
Parent(s):
041f186
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def get_turbo_result(prompt):
|
|
43 |
image_turbo = pipe_turbo(prompt=prompt, num_inference_steps=1, guidance_scale=0).images[0]
|
44 |
return image_turbo
|
45 |
|
46 |
-
def
|
47 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|
48 |
# Submit tasks to the executor
|
49 |
future_lighting = executor.submit(get_lighting_result, prompt)
|
|
|
43 |
image_turbo = pipe_turbo(prompt=prompt, num_inference_steps=1, guidance_scale=0).images[0]
|
44 |
return image_turbo
|
45 |
|
46 |
+
def run_comparison(prompt):
|
47 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|
48 |
# Submit tasks to the executor
|
49 |
future_lighting = executor.submit(get_lighting_result, prompt)
|