KevanSoon commited on
Commit
3a951e6
·
1 Parent(s): 6f21a14

python file renaming and imgaes in predict

Browse files
Files changed (1) hide show
  1. main.py → app.py +2 -2
main.py → app.py RENAMED
@@ -16,8 +16,8 @@ class ImagesInput(BaseModel):
16
  async def face_recognition(data: ImagesInput):
17
  # Call the Gradio client predict with the URLs from request body
18
  result = client.predict(
19
- data.image1, # parameter_8 image
20
- data.image2, # parameter_11 image
21
  fn_index=2
22
  )
23
  # Return the prediction result as JSON
 
16
  async def face_recognition(data: ImagesInput):
17
  # Call the Gradio client predict with the URLs from request body
18
  result = client.predict(
19
+ "https://qvnhhditkzzeudppuezf.supabase.co/storage/v1/object/public/post-images/post-images/1752289670997-kevan.jpg", # parameter_8 image
20
+ "https://qvnhhditkzzeudppuezf.supabase.co/storage/v1/object/public/post-images/post-images/1752289670997-kevan.jpg", # parameter_11 image
21
  fn_index=2
22
  )
23
  # Return the prediction result as JSON