multimodalart HF staff commited on
Commit
825bfd6
1 Parent(s): 041f186

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 run_in_parallel(prompt):
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)