ipvikas commited on
Commit
f59db1f
·
verified ·
1 Parent(s): 2e3e917

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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(debug=True, cache_examples=True)
 
 
 
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"])