Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 committed May 29, 2024
1 parent 50def95 commit 4dcf4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def predict_image(img: UploadFile, response: Response):

# Menentukan label

return {"result":print(f'Gambar {fn} adalah {jenis_buah}, dan buah tersebut {kesegaran_buah}')}
return {"result":"print"}
except Exception as e:
traceback.print_exc()
response.status_code = 500
Expand Down

0 comments on commit 4dcf4dd

Please sign in to comment.