Docfile commited on
Commit
19e983b
·
verified ·
1 Parent(s): a255150

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -46,8 +46,7 @@ def generate():
46
  # Générer le contenu
47
  response = model.generate_content([mm, image])
48
  result = response.text
49
- #result = response.candidates[0].content.parts[1].text
50
-
51
  return jsonify({"result": result})
52
  except Exception as e:
53
  return jsonify({'error': str(e)}), 500
 
46
  # Générer le contenu
47
  response = model.generate_content([mm, image])
48
  result = response.text
49
+
 
50
  return jsonify({"result": result})
51
  except Exception as e:
52
  return jsonify({'error': str(e)}), 500