Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,12 @@ from OCR_Image_to_Text import get_OCR_demo
|
|
5 |
|
6 |
demo = gr.TabbedInterface([image_summary_demo, get_OCR_demo],
|
7 |
["Image to Text SUMMARY", "Extract TEXT"])
|
|
|
8 |
if __name__ == "__main__":
|
9 |
-
demo.launch(
|
|
|
|
|
|
|
10 |
|
11 |
# demo = gr.TabbedInterface([get_OCR_demo, get_tts_demo, sentiment_demo, POS_demo, translation_demo, ST_ASR_demo, textScript_demo],
|
12 |
# ["Image to Text","Text to Speech", "Sentiment Analysis","POS findings", "Language Translation","ASR", "YouTube video to Text Script"])
|
|
|
5 |
|
6 |
demo = gr.TabbedInterface([image_summary_demo, get_OCR_demo],
|
7 |
["Image to Text SUMMARY", "Extract TEXT"])
|
8 |
+
|
9 |
if __name__ == "__main__":
|
10 |
+
demo.launch()
|
11 |
+
|
12 |
+
# if __name__ == "__main__":
|
13 |
+
# demo.launch(debug=True, cache_examples=True)
|
14 |
|
15 |
# demo = gr.TabbedInterface([get_OCR_demo, get_tts_demo, sentiment_demo, POS_demo, translation_demo, ST_ASR_demo, textScript_demo],
|
16 |
# ["Image to Text","Text to Speech", "Sentiment Analysis","POS findings", "Language Translation","ASR", "YouTube video to Text Script"])
|