Spaces:
Sleeping
Sleeping
File size: 313 Bytes
df248e1 8e00b1f 5e1ca7b 0a12bd5 df248e1 f2c823c df248e1 dd7a049 f2c823c c52fd89 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from ofa_ocr import ofa_ocr_gr
from api import app
import os
import uvicorn
if __name__ == "__main__":
# gr.close_all()
# ocr_demo = ofa_ocr_gr()
# ocr_demo.launch(
# )
uvicorn.run("app:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True)
|