Jyothirmai commited on
Commit
afb7dea
·
verified ·
1 Parent(s): 0557993

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def predict(img, model_name, max_tokens, temperature):
59
  return "Caption generation for this model is not yet implemented."
60
 
61
 
62
- sample_images = [
63
  'https://imgur.com/W1pIr9b',
64
  'https://imgur.com/MLJaWnf',
65
  'https://imgur.com/6XymFW1',
@@ -74,7 +74,7 @@ interface = gr.Interface(
74
  inputs = [image, model_choice, max_tokens, temperature],
75
  theme="gradio/monochrome",
76
  outputs=caption,
77
- examples = sample_images,
78
  )
79
 
80
  interface.launch(debug=True)
 
59
  return "Caption generation for this model is not yet implemented."
60
 
61
 
62
+ examples = [
63
  'https://imgur.com/W1pIr9b',
64
  'https://imgur.com/MLJaWnf',
65
  'https://imgur.com/6XymFW1',
 
74
  inputs = [image, model_choice, max_tokens, temperature],
75
  theme="gradio/monochrome",
76
  outputs=caption,
77
+ examples = examples,
78
  )
79
 
80
  interface.launch(debug=True)