yolo12138 commited on
Commit
3b01a7f
·
1 Parent(s): 59f9119

route index

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -27,6 +27,10 @@ def get_ocr(lang, use_gpu=False):
27
  return ocr_cache.get(lang)
28
 
29
 
 
 
 
 
30
  @app.post("/ocr")
31
  async def create_upload_file(
32
  file: UploadFile = File(...),
 
27
  return ocr_cache.get(lang)
28
 
29
 
30
+ @app.get("/")
31
+ async def home():
32
+ return 'Hi huggingface!'
33
+
34
  @app.post("/ocr")
35
  async def create_upload_file(
36
  file: UploadFile = File(...),