Arafath10 commited on
Commit
2e1190c
1 Parent(s): a940aa8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -51,6 +51,6 @@ async def get_image_for_text(email,query,file: UploadFile = File(...)):
51
  image_path = "exports/charts/temp_chart.png" # Replace with your image's path
52
  base64str = convert_image_to_base64(image_path)
53
  return {"id":str(uuid1),"image":base64str}
54
- except Exception as e
55
  print(str(e))
56
  return "try again"
 
51
  image_path = "exports/charts/temp_chart.png" # Replace with your image's path
52
  base64str = convert_image_to_base64(image_path)
53
  return {"id":str(uuid1),"image":base64str}
54
+ except Exception as e:
55
  print(str(e))
56
  return "try again"