Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
refactor: Update placeholder text and remove example prompts
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ with gr.Blocks() as demo:
|
|
283 |
file_types=allowed_medias,
|
284 |
)
|
285 |
user_prompt = gr.Textbox(
|
286 |
-
placeholder="
|
287 |
label="Instructions",
|
288 |
)
|
289 |
btn = gr.Button("Run")
|
@@ -350,20 +350,6 @@ with gr.Blocks() as demo:
|
|
350 |
0.1,
|
351 |
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
352 |
],
|
353 |
-
[
|
354 |
-
["./examples/waterfall-overlay.png", "./examples/waterfall.mp4"],
|
355 |
-
"Add the overlay to the video.",
|
356 |
-
0.7,
|
357 |
-
0.1,
|
358 |
-
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
359 |
-
],
|
360 |
-
[
|
361 |
-
["./examples/example.mp4"],
|
362 |
-
"Make this video 10 times faster",
|
363 |
-
0.7,
|
364 |
-
0.1,
|
365 |
-
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
366 |
-
],
|
367 |
],
|
368 |
inputs=[user_files, user_prompt, top_p, temperature, model_choice],
|
369 |
outputs=[generated_video, generated_command],
|
|
|
283 |
file_types=allowed_medias,
|
284 |
)
|
285 |
user_prompt = gr.Textbox(
|
286 |
+
placeholder="eg: Remove the 3 first seconds of the video",
|
287 |
label="Instructions",
|
288 |
)
|
289 |
btn = gr.Button("Run")
|
|
|
350 |
0.1,
|
351 |
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
352 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
],
|
354 |
inputs=[user_files, user_prompt, top_p, temperature, model_choice],
|
355 |
outputs=[generated_video, generated_command],
|