Spaces:
Runtime error
Runtime error
refactor: Remove Qwen model and update default model choice in examples
Browse files
app.py
CHANGED
@@ -354,17 +354,13 @@ with gr.Blocks() as demo:
|
|
354 |
examples=[
|
355 |
[
|
356 |
["./examples/ai_talk.wav", "./examples/bg-image.png"],
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
),
|
365 |
-
],
|
366 |
-
[
|
367 |
-
["./examples/ai_talk.wav", "./examples/bg-image.png"],
|
368 |
"Use the image as the background with a waveform visualization for the audio positioned in center of the video. Make sure the waveform has a max height of 250 pixels.",
|
369 |
0.7,
|
370 |
0.1,
|
@@ -380,17 +376,13 @@ with gr.Blocks() as demo:
|
|
380 |
"./examples/cat6.jpeg",
|
381 |
"./examples/heat-wave.mp3",
|
382 |
],
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
),
|
391 |
-
],
|
392 |
-
],
|
393 |
-
inputs=[user_files, user_prompt, top_p, temperature, model_choice],
|
394 |
outputs=[generated_video, generated_command],
|
395 |
fn=update,
|
396 |
run_on_click=True,
|
|
|
354 |
examples=[
|
355 |
[
|
356 |
["./examples/ai_talk.wav", "./examples/bg-image.png"],
|
357 |
+
"Use the image as the background with a waveform visualization for the audio positioned in center of the video.",
|
358 |
+
0.7,
|
359 |
+
0.1,
|
360 |
+
list(MODELS.keys())[0],
|
361 |
+
],
|
362 |
+
[
|
363 |
+
["./examples/ai_talk.wav", "./examples/bg-image.png"],
|
|
|
|
|
|
|
|
|
364 |
"Use the image as the background with a waveform visualization for the audio positioned in center of the video. Make sure the waveform has a max height of 250 pixels.",
|
365 |
0.7,
|
366 |
0.1,
|
|
|
376 |
"./examples/cat6.jpeg",
|
377 |
"./examples/heat-wave.mp3",
|
378 |
],
|
379 |
+
"Create a 3x2 grid of the cat images with the audio as background music. Make the video duration match the audio duration.",
|
380 |
+
0.7,
|
381 |
+
0.1,
|
382 |
+
list(MODELS.keys())[0],
|
383 |
+
],
|
384 |
+
],
|
385 |
+
inputs=[user_files, user_prompt, top_p, temperature, model_choice],
|
|
|
|
|
|
|
|
|
386 |
outputs=[generated_video, generated_command],
|
387 |
fn=update,
|
388 |
run_on_click=True,
|