Spaces:
Running
on
Zero
Running
on
Zero
Kohaku-Blueleaf
commited on
Commit
•
0a38838
1
Parent(s):
2e74738
fix formating
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def gen(
|
|
80 |
torch.cuda.empty_cache()
|
81 |
t1 = time_ns()
|
82 |
|
83 |
-
return result.convert("RGB"), full_prompt, f"Cost: {(t1 - t0) / 1e9:.
|
84 |
|
85 |
|
86 |
if __name__ == "__main__":
|
|
|
80 |
torch.cuda.empty_cache()
|
81 |
t1 = time_ns()
|
82 |
|
83 |
+
return result.convert("RGB"), full_prompt, f"Cost: {(t1 - t0) / 1e9:.4}sec"
|
84 |
|
85 |
|
86 |
if __name__ == "__main__":
|