TIMBOVILL commited on
Commit
2c5f887
·
verified ·
1 Parent(s): f8fab3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -92,9 +92,14 @@ def process_video_interface():
92
  description="Select a video file from 'videos' folder, add text, and process.",
93
  )
94
 
 
 
 
 
 
95
  demo = gr.Interface(
96
- fn=lambda: None, # No main function needed for multi-interface setup
97
- interfaces=[chat_interface(), process_video_interface()],
98
  title="YTSHorts Maker",
99
  description="Powered by GROQ, MoviePy, and other tools.",
100
  theme="soft",
 
92
  description="Select a video file from 'videos' folder, add text, and process.",
93
  )
94
 
95
+ # Initialize the interfaces separately
96
+ chat = chat_interface()
97
+ video_processor = process_video_interface()
98
+
99
+ # Launch the demo interface with both interfaces
100
  demo = gr.Interface(
101
+ fn=None, # No main function needed for multi-interface setup
102
+ interfaces=[chat, video_processor],
103
  title="YTSHorts Maker",
104
  description="Powered by GROQ, MoviePy, and other tools.",
105
  theme="soft",