Spaces:
Build error
Build error
aningineer
commited on
Commit
•
542ea3b
1
Parent(s):
26cfd4b
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def generate_baseline(prompt, seed, steps, height_width, negative_prompt, guidan
|
|
70 |
guidance_scale=guidance_scale).images[0]
|
71 |
end_time_base = time.time()
|
72 |
|
73 |
-
result = f"Baseline
|
74 |
|
75 |
semaphore.release()
|
76 |
|
@@ -123,7 +123,7 @@ def generate_merged(prompt, seed, steps, height_width, negative_prompt, guidance
|
|
123 |
guidance_scale=guidance_scale).images[0]
|
124 |
end_time_merge = time.time()
|
125 |
|
126 |
-
result = f"{'ToDo' if method == 'todo' else 'ToMe'}
|
127 |
|
128 |
semaphore.release()
|
129 |
|
|
|
70 |
guidance_scale=guidance_scale).images[0]
|
71 |
end_time_base = time.time()
|
72 |
|
73 |
+
result = f"Baseline Runtime: {end_time_base-start_time_base:.2f} sec"
|
74 |
|
75 |
semaphore.release()
|
76 |
|
|
|
123 |
guidance_scale=guidance_scale).images[0]
|
124 |
end_time_merge = time.time()
|
125 |
|
126 |
+
result = f"{'ToDo' if method == 'todo' else 'ToMe'} Runtime: {end_time_merge-start_time_merge:.2f} sec"
|
127 |
|
128 |
semaphore.release()
|
129 |
|