Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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
|