tsi-org commited on
Commit
93be68c
·
verified ·
1 Parent(s): 60de098

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def get_caption_from_kosmos(image_in):
80
  return truncated_caption
81
 
82
  def get_caption(image_in):
83
- client = Client("https://tsi-org-moondream-captioning.hf.space/", hf_token=hf_token)
84
  result = client.predict(
85
  image_in, # filepath in 'image' Image component
86
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component
 
80
  return truncated_caption
81
 
82
  def get_caption(image_in):
83
+ client = Client("https://tsi-org-moondream-captioning.hf.space/--replicas/i0q9f/", hf_token=hf_token)
84
  result = client.predict(
85
  image_in, # filepath in 'image' Image component
86
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component