File size: 532 Bytes
6f44412 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import gradio as gr
from script_generator import script_gen_and_translate
from urdu_tts_video import urdu_tts_and_video
def main():
with gr.Blocks() as app:
gr.Markdown("# AI-Powered Urdu Science Content Generator")
with gr.Tabs():
with gr.Tab("Script Generation & Translation"):
script_gen_and_translate()
with gr.Tab("Urdu TTS & Video Generation"):
urdu_tts_and_video()
app.launch()
if __name__ == "__main__":
main()
|