ryaalbr commited on
Commit
bee7306
1 Parent(s): d3a50f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def rand_image():
29
  def set_labels(text):
30
  return text.split(",")
31
 
32
- get_caption = gr.load("ryaalbr/caption", src="spaces", hf_token=environ("api_key"))
33
  def generate_text(image):
34
  return get_caption(image)
35
 
 
29
  def set_labels(text):
30
  return text.split(",")
31
 
32
+ get_caption = gr.load("ryaalbr/caption", src="spaces", hf_token=environ["api_key"])
33
  def generate_text(image):
34
  return get_caption(image)
35