Open-Sora: Democratizing Efficient Video Production for All
Python
updated gradio options (#301)
Frank Lee11d1912b3cd0
diff --git a/gradio/app.py b/gradio/app.pyindex 80fc2e8..905c587 100644--- a/gradio/app.py+++ b/gradio/app.py@@ -31,6 +31,8 @@ HF_STDIT_MAP = {"v1.1-stage3": "hpcai-tech/OpenSora-STDiT-v2-stage3",}RESOLUTION_MAP = {+ "144p": (144, 256),+ "240p": (240, 426),"360p": (360, 480),"480p": (480, 858),"720p": (720, 1280),@@ -452,8 +454,8 @@ def main():lines=4,)resolution = gr.Radio(- choices=["360p", "480p", "720p", "1080p"],- value="360p",+ choices=["144p", "240p", "360p", "480p", "720p", "1080p"],+ value="144p",label="Resolution",)length = gr.Radio(diff --git a/gradio/requirements.txt b/gradio/requirements.txtindex 8ed5596..f0c5b94 100644--- a/gradio/requirements.txt+++ b/gradio/requirements.txt@@ -1,3 +1,3 @@xformers-git+https://github.com/hpcaitech/Open-Sora.git#egg=opensoratransformers+git+https://github.com/hpcaitech/Open-Sora.git#egg=opensoradiff --git a/requirements.txt b/requirements.txtindex d675337..e8031a8 100644--- a/requirements.txt+++ b/requirements.txt@@ -14,3 +14,4 @@ tqdmtransformerswandbrotary_embedding_torch+pandarallel