name update
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ GAMMA_SLIDER = SliderConfig(
|
|
| 64 |
|
| 65 |
STEP_SLIDER = SliderConfig(
|
| 66 |
label="Inference Steps",
|
| 67 |
-
minimum=
|
| 68 |
maximum=28,
|
| 69 |
step=1,
|
| 70 |
value=10,
|
|
@@ -123,7 +123,7 @@ def _create_slider(config: SliderConfig) -> gr.Slider:
|
|
| 123 |
)
|
| 124 |
|
| 125 |
|
| 126 |
-
@spaces.GPU
|
| 127 |
def run_stylization(
|
| 128 |
input_video_path,
|
| 129 |
prompt,
|
|
@@ -246,13 +246,13 @@ def build_demo() -> gr.Blocks:
|
|
| 246 |
with gr.Tab("Quick Generate"):
|
| 247 |
with gr.Row():
|
| 248 |
fast_btn = gr.Button(
|
| 249 |
-
"β‘ Fast
|
| 250 |
)
|
| 251 |
balanced_btn = gr.Button(
|
| 252 |
-
"π― Balanced
|
| 253 |
)
|
| 254 |
quality_btn = gr.Button(
|
| 255 |
-
"π Quality
|
| 256 |
)
|
| 257 |
|
| 258 |
_bind_preset_button(
|
|
|
|
| 64 |
|
| 65 |
STEP_SLIDER = SliderConfig(
|
| 66 |
label="Inference Steps",
|
| 67 |
+
minimum=1,
|
| 68 |
maximum=28,
|
| 69 |
step=1,
|
| 70 |
value=10,
|
|
|
|
| 123 |
)
|
| 124 |
|
| 125 |
|
| 126 |
+
@spaces.GPU(duration=120)
|
| 127 |
def run_stylization(
|
| 128 |
input_video_path,
|
| 129 |
prompt,
|
|
|
|
| 246 |
with gr.Tab("Quick Generate"):
|
| 247 |
with gr.Row():
|
| 248 |
fast_btn = gr.Button(
|
| 249 |
+
"β‘ Fast", variant="primary"
|
| 250 |
)
|
| 251 |
balanced_btn = gr.Button(
|
| 252 |
+
"π― Balanced", variant="primary"
|
| 253 |
)
|
| 254 |
quality_btn = gr.Button(
|
| 255 |
+
"π High Quality", variant="primary"
|
| 256 |
)
|
| 257 |
|
| 258 |
_bind_preset_button(
|