irotem98 commited on
Commit
354d8fc
Β·
verified Β·
1 Parent(s): 1f4ce0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -65,9 +65,12 @@ interface = gr.Interface(
65
  inputs=gr.Image(type="pil", label="Upload an Image"),
66
  outputs="text",
67
  title="Image Caption Generator",
68
- description=f"The default question is: '{default_question}'. Upload an image to generate a description."
 
 
 
 
69
  )
70
-
71
  # Launch the interface
72
  print("Launching interface...")
73
  interface.launch()
 
65
  inputs=gr.Image(type="pil", label="Upload an Image"),
66
  outputs="text",
67
  title="Image Caption Generator",
68
+ description=(
69
+ f"The default question is: '{default_question}'. "
70
+ "Please note that the inference may take up to 200 seconds due to long captions and CPU limitations. "
71
+ "You can find the model [here](https://huggingface.co/irotem98/edge_vlm)."
72
+ )
73
  )
 
74
  # Launch the interface
75
  print("Launching interface...")
76
  interface.launch()