Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ client = InferenceClient(
|
|
| 12 |
bill_to="huggingface",
|
| 13 |
)
|
| 14 |
|
| 15 |
-
def text_to_video(prompt, duration=5, aspect_ratio="
|
| 16 |
"""Generate video from text prompt"""
|
| 17 |
try:
|
| 18 |
if profile is None:
|
|
|
|
| 12 |
bill_to="huggingface",
|
| 13 |
)
|
| 14 |
|
| 15 |
+
def text_to_video(prompt, duration=5, aspect_ratio="19:9", resolution="9020p", profile: gr.OAuthProfile | None = None):
|
| 16 |
"""Generate video from text prompt"""
|
| 17 |
try:
|
| 18 |
if profile is None:
|