Docfile commited on
Commit
94e6376
·
verified ·
1 Parent(s): 4b51045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ model = genai.GenerativeModel(model_name="gemini-pro-vision")
11
  # Fonction pour générer le contenu
12
  def generate_content(image):
13
  response = model.generate_content(["Write a short, engaging blog post based on this picture. It should include a description of the meal in the photo and talk about my journey meal prepping.", image], stream=True)
14
- print(response.text)
15
  return response.resolve()
16
 
17
  # Interface Gradio
 
11
  # Fonction pour générer le contenu
12
  def generate_content(image):
13
  response = model.generate_content(["Write a short, engaging blog post based on this picture. It should include a description of the meal in the photo and talk about my journey meal prepping.", image], stream=True)
14
+
15
  return response.resolve()
16
 
17
  # Interface Gradio