import gradio as gr from image_summary import image_summary_demo from OCR_Image_to_Text import get_OCR_demo demo = gr.TabbedInterface([image_summary_demo, get_OCR_demo], ["Image to Text SUMMARY", "Extract TEXT"]) if __name__ == "__main__": demo.launch()