Backened commited on
Commit
b918062
·
verified ·
1 Parent(s): da99713

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from script_generator import script_gen_and_translate
3
+ from urdu_tts_video import urdu_tts_and_video
4
+
5
+ def main():
6
+ with gr.Blocks() as app:
7
+ gr.Markdown("# AI-Powered Urdu Science Content Generator")
8
+
9
+ with gr.Tabs():
10
+ with gr.Tab("Script Generation & Translation"):
11
+ script_gen_and_translate()
12
+
13
+ with gr.Tab("Urdu TTS & Video Generation"):
14
+ urdu_tts_and_video()
15
+
16
+ app.launch()
17
+
18
+ if __name__ == "__main__":
19
+ main()