Spaces:
Runtime error
Runtime error
Exosfeer commited on
Commit ·
9aebeda
1
Parent(s): 2dc3606
Fix get_duration arg count mismatch; add show_error=True to launch
Browse files
app.py
CHANGED
|
@@ -162,6 +162,8 @@ def get_duration(
|
|
| 162 |
seed,
|
| 163 |
randomize_seed,
|
| 164 |
resolution,
|
|
|
|
|
|
|
| 165 |
):
|
| 166 |
"""Estimate GPU lease duration for @spaces.GPU(duration=...)."""
|
| 167 |
dur = float(duration)
|
|
@@ -494,4 +496,4 @@ with gr.Blocks(css=CSS, title="LTX-2.3 Turbo", theme=gr.themes.Soft()) as demo:
|
|
| 494 |
)
|
| 495 |
|
| 496 |
if __name__ == "__main__":
|
| 497 |
-
demo.launch()
|
|
|
|
| 162 |
seed,
|
| 163 |
randomize_seed,
|
| 164 |
resolution,
|
| 165 |
+
*args,
|
| 166 |
+
**kwargs,
|
| 167 |
):
|
| 168 |
"""Estimate GPU lease duration for @spaces.GPU(duration=...)."""
|
| 169 |
dur = float(duration)
|
|
|
|
| 496 |
)
|
| 497 |
|
| 498 |
if __name__ == "__main__":
|
| 499 |
+
demo.launch(show_error=True)
|