Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ Here's your story!
|
|
33 |
"""
|
34 |
|
35 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
36 |
-
model = genai.GenerativeModel('gemini-
|
37 |
|
38 |
def convert_markdown_to_html(text):
|
39 |
html = markdown2.markdown(text, extras=["fenced-code-blocks", "tables"])
|
|
|
33 |
"""
|
34 |
|
35 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
36 |
+
model = genai.GenerativeModel('gemini-2.5-flash', system_instruction=system_instruction)
|
37 |
|
38 |
def convert_markdown_to_html(text):
|
39 |
html = markdown2.markdown(text, extras=["fenced-code-blocks", "tables"])
|