deveix commited on
Commit
bb9ed6b
·
1 Parent(s): bd4c0d2

fix cnn response

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -348,7 +348,7 @@ async def handle_cnn(file: UploadFile = File(...)):
348
  # Clean up the temporary file
349
  os.remove(temp_filename)
350
  # Return a successful response with decoded predictions
351
- return {"message": "File processed successfully", "sheikh": reciter_object}
352
  except Exception as e:
353
  print(e)
354
  # Handle possible exceptions
 
348
  # Clean up the temporary file
349
  os.remove(temp_filename)
350
  # Return a successful response with decoded predictions
351
+ return reciter_object
352
  except Exception as e:
353
  print(e)
354
  # Handle possible exceptions