Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from google import genai
|
|
5 |
import markdown
|
6 |
import os
|
7 |
|
8 |
-
app = Flask(
|
9 |
|
10 |
api_key = os.getenv('GEMINI_API_KEY')
|
11 |
# Replace with your actual Gemini API key
|
@@ -263,5 +263,5 @@ def predict():
|
|
263 |
return Response(html_output, mimetype="text/html")
|
264 |
|
265 |
|
266 |
-
if
|
267 |
app.run(debug=True)
|
|
|
5 |
import markdown
|
6 |
import os
|
7 |
|
8 |
+
app = Flask(__name__)
|
9 |
|
10 |
api_key = os.getenv('GEMINI_API_KEY')
|
11 |
# Replace with your actual Gemini API key
|
|
|
263 |
return Response(html_output, mimetype="text/html")
|
264 |
|
265 |
|
266 |
+
if __name__ == '__main__':
|
267 |
app.run(debug=True)
|