fffiloni commited on
Commit
d21b068
1 Parent(s): b3c49d3

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("https://fffilon-moondream1.hf.space/", hf_token=hf_token)
69
  result = client.predict(
70
  image_in, # filepath in 'image' Image component
71
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component
 
65
  return truncated_caption
66
 
67
  def get_caption(image_in):
68
+ client = Client("https://fffiloni-moondream1.hf.space/", hf_token=hf_token)
69
  result = client.predict(
70
  image_in, # filepath in 'image' Image component
71
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component