fffiloni commited on
Commit
d0ceb4b
·
verified ·
1 Parent(s): eb0da3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def infer(image_string, question):
29
  image_in = convert_base64_to_img(image_string)
30
  client = Client("fffiloni/moondream1", hf_token=hf_token)
31
  result = client.predict(
32
- image = image_in,
33
  question = question,
34
  api_name="/predict"
35
  )
 
29
  image_in = convert_base64_to_img(image_string)
30
  client = Client("fffiloni/moondream1", hf_token=hf_token)
31
  result = client.predict(
32
+ image = handle_file(image_in),
33
  question = question,
34
  api_name="/predict"
35
  )