TIMBOVILL commited on
Commit
bc69648
·
verified ·
1 Parent(s): 5d135b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -73,13 +73,14 @@ additional_inputs = [
73
  gr.Number(precision=0, value=42, label="Seed", info="A starting point to initiate generation, use 0 for random")
74
  ]
75
 
76
- with gr.Blocks(theme=gr.themes.Soft(primary_hue="red", secondary_hue="pink")) as demo:
 
77
  with gr.Tabs():
78
  with gr.TabItem("Chat"):
79
  chat_interface = gr.ChatInterface(
80
  fn=generate_response,
81
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
82
- additional_inputs=additional_inputs,
83
  title="YTSHorts Maker",
84
  description="Powered by GROQ, MoviePy, and other tools.",
85
  )
@@ -90,7 +91,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="red", secondary_hue="pink")) as
90
 
91
  process_button.click(
92
  fn=process_video,
93
- inputs=[text_input],
94
  outputs=video_output,
95
  )
96
 
 
73
  gr.Number(precision=0, value=42, label="Seed", info="A starting point to initiate generation, use 0 for random")
74
  ]
75
 
76
+ with
77
+ gr.Blocks(theme=gr.themes.Soft(primary_hue="red", secondary_hue="pink")) as demo:
78
  with gr.Tabs():
79
  with gr.TabItem("Chat"):
80
  chat_interface = gr.ChatInterface(
81
  fn=generate_response,
82
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
83
+ additional_inputs=[],
84
  title="YTSHorts Maker",
85
  description="Powered by GROQ, MoviePy, and other tools.",
86
  )
 
91
 
92
  process_button.click(
93
  fn=process_video,
94
+ inputs=text_input,
95
  outputs=video_output,
96
  )
97