Spaces:
Runtime error
Runtime error
| 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() | |
| # if __name__ == "__main__": | |
| # demo.launch(debug=True, cache_examples=True) | |
| # demo = gr.TabbedInterface([get_OCR_demo, get_tts_demo, sentiment_demo, POS_demo, translation_demo, ST_ASR_demo, textScript_demo], | |
| # ["Image to Text","Text to Speech", "Sentiment Analysis","POS findings", "Language Translation","ASR", "YouTube video to Text Script"]) | |
| # if __name__ == "__main__": | |
| # demo.launch() |