Carlexx commited on
Commit
d5d56ef
Β·
verified Β·
1 Parent(s): 2155275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ Path(models_dir).mkdir(parents=True, exist_ok=True)
56
  WORKSPACE_DIR = "aduc_workspace"
57
  GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
58
 
59
- VIDEO_FPS = 30
60
  TARGET_RESOLUTION = 420
61
 
62
  print("Criando pipelines LTX na CPU (estado de repouso)...")
@@ -339,7 +339,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
339
  with gr.Row():
340
  with gr.Column(scale=1):
341
  prompt_input = gr.Textbox(label="Ideia Geral (Prompt)")
342
- num_fragments_input = gr.Slider(2, 10, 4, step=1, label="NΓΊmero de Atos (Keyframes)")
343
  image_input = gr.Image(type="filepath", label=f"Imagem de ReferΓͺncia Principal (serΓ‘ {TARGET_RESOLUTION}x{TARGET_RESOLUTION})")
344
  director_button = gr.Button("▢️ 1. Gerar Roteiro", variant="primary")
345
  with gr.Column(scale=2): storyboard_to_show = gr.JSON(label="Roteiro de Cenas Gerado (em InglΓͺs)")
 
56
  WORKSPACE_DIR = "aduc_workspace"
57
  GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
58
 
59
+ VIDEO_FPS = 24
60
  TARGET_RESOLUTION = 420
61
 
62
  print("Criando pipelines LTX na CPU (estado de repouso)...")
 
339
  with gr.Row():
340
  with gr.Column(scale=1):
341
  prompt_input = gr.Textbox(label="Ideia Geral (Prompt)")
342
+ num_fragments_input = gr.Slider(2, 100, 4, step=1, label="NΓΊmero de Atos (Keyframes)")
343
  image_input = gr.Image(type="filepath", label=f"Imagem de ReferΓͺncia Principal (serΓ‘ {TARGET_RESOLUTION}x{TARGET_RESOLUTION})")
344
  director_button = gr.Button("▢️ 1. Gerar Roteiro", variant="primary")
345
  with gr.Column(scale=2): storyboard_to_show = gr.JSON(label="Roteiro de Cenas Gerado (em InglΓͺs)")