Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -239,6 +239,8 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
239 |
info="(Optional) Provide a custom Hugging Face model path. Overrides any selected featured model.",
|
240 |
placeholder="damo-vilab/text-to-video-ms-1.7b"
|
241 |
)
|
|
|
|
|
242 |
|
243 |
# Advanced settings in an accordion
|
244 |
with gr.Accordion("Advanced Settings", open=False):
|
@@ -409,38 +411,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
|
409 |
outputs=provider_radio
|
410 |
)
|
411 |
|
412 |
-
|
413 |
-
with gr.Accordion("Information & Help", open=False):
|
414 |
-
gr.Markdown("""
|
415 |
-
# 🎬 Serverless-VideoGen-Hub
|
416 |
-
|
417 |
-
This application uses Hugging Face's Serverless Inference API to generate videos from text prompts.
|
418 |
-
|
419 |
-
## Supported Providers
|
420 |
-
|
421 |
-
- **hf-inference**: Hugging Face's default inference API (free)
|
422 |
-
- **fal-ai**: Fal AI provider (requires API key)
|
423 |
-
- **novita**: Novita AI provider (requires API key)
|
424 |
-
- **replicate**: Replicate provider (requires API key)
|
425 |
-
|
426 |
-
## Parameters Explained
|
427 |
-
|
428 |
-
- **Prompt**: The text description of your desired video
|
429 |
-
- **Negative Prompt**: What you DON'T want to see in the video
|
430 |
-
- **Width/Height**: Dimensions of the generated video
|
431 |
-
- **Number of Frames**: Total frames to generate
|
432 |
-
- **FPS**: Frames per second for playback
|
433 |
-
- **Inference Steps**: More steps = higher quality but slower generation
|
434 |
-
- **Guidance Scale**: How closely to follow the prompt (higher values = more faithful)
|
435 |
-
- **Motion Bucket ID**: Controls motion intensity (for Stable Video Diffusion models)
|
436 |
-
- **Seed**: For reproducible results, -1 means random
|
437 |
-
|
438 |
-
## Models
|
439 |
-
|
440 |
-
You can either select from the featured models or enter a custom model path.
|
441 |
-
|
442 |
-
Check out [Hugging Face's models page](https://huggingface.co/models?pipeline_tag=text-to-video) for more video generation models.
|
443 |
-
""")
|
444 |
|
445 |
# Launch the app
|
446 |
if __name__ == "__main__":
|
|
|
239 |
info="(Optional) Provide a custom Hugging Face model path. Overrides any selected featured model.",
|
240 |
placeholder="damo-vilab/text-to-video-ms-1.7b"
|
241 |
)
|
242 |
+
|
243 |
+
gr.Markdown("[See all available models](https://huggingface.co/models?inference_provider=all&pipeline_tag=text-to-video&sort=trending)")
|
244 |
|
245 |
# Advanced settings in an accordion
|
246 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
411 |
outputs=provider_radio
|
412 |
)
|
413 |
|
414 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
|
416 |
# Launch the app
|
417 |
if __name__ == "__main__":
|