Nasma commited on
Commit
2c1bec3
·
verified ·
1 Parent(s): 054b9b5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -78,7 +78,7 @@ def vision(file_content):
78
 
79
 
80
  @app.post("/get_ocr_data/")
81
- async def get_data(user_id: str = Query(...),input_file: UploadFile = File(...)):
82
  #try:
83
  # Determine the file type by reading the first few bytes
84
  file_content = await input_file.read()
 
78
 
79
 
80
  @app.post("/get_ocr_data/")
81
+ async def get_data(input_file: UploadFile = File(...)):
82
  #try:
83
  # Determine the file type by reading the first few bytes
84
  file_content = await input_file.read()