fffiloni commited on
Commit
5036e96
1 Parent(s): a97cae4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def get_caption_from_kosmos(image_in):
65
  return truncated_caption
66
 
67
  def get_caption(image_in):
68
- client = Client("fffiloni/moondream1", hf_token=hf_token)
69
  result = client.predict(
70
  image=handle_file(image_in),
71
  question="Describe precisely the image in one sentence.",
 
65
  return truncated_caption
66
 
67
  def get_caption(image_in):
68
+ client = Client("fffiloni/moondream1", hf_token=hf_token)
69
  result = client.predict(
70
  image=handle_file(image_in),
71
  question="Describe precisely the image in one sentence.",