Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
|
|
| 1 |
|
| 2 |
from image_summary import image_summary_demo
|
| 3 |
-
|
| 4 |
-
|
| 5 |
from OCR_Image_to_Text import get_OCR_demo
|
| 6 |
|
| 7 |
demo = gr.TabbedInterface([image_summary_demo, get_OCR_demo],
|
| 8 |
["Image to Text SUMMARY", "Extract TEXT"])
|
| 9 |
if __name__ == "__main__":
|
| 10 |
-
demo.launch(debug=True, cache_examples=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
|
| 3 |
from image_summary import image_summary_demo
|
|
|
|
|
|
|
| 4 |
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"])
|
| 13 |
+
# if __name__ == "__main__":
|
| 14 |
+
# demo.launch()
|