sshenai commited on
Commit
64553ef
·
verified ·
1 Parent(s): e349787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ from transformers import pipeline
5
  import tempfile
6
  import os
7
 
 
 
8
  # Function to generate image caption
9
  def generate_image_caption(image_path):
10
  """Generates a caption for the given image using a pre-trained model."""
 
5
  import tempfile
6
  import os
7
 
8
+ %pip install -r requirements.txt
9
+
10
  # Function to generate image caption
11
  def generate_image_caption(image_path):
12
  """Generates a caption for the given image using a pre-trained model."""