sikeaditya commited on
Commit
2a1540e
·
verified ·
1 Parent(s): c098cd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,11 +150,11 @@ def index():
150
 
151
  logging.debug("Calling Gemini API for content generation.")
152
  response = genai.generate_text(
153
- model="gemini-2.0-flash",
154
  prompt=prompt
155
  )
156
 
157
- # Access the generated content (adjust attribute as needed; here we use 'result')
158
  analysis_text = response.result
159
  analysis_html = markdown.markdown(analysis_text) # convert markdown to HTML
160
 
 
150
 
151
  logging.debug("Calling Gemini API for content generation.")
152
  response = genai.generate_text(
153
+ model="models/gemini-2.0-flash",
154
  prompt=prompt
155
  )
156
 
157
+ # Access the generated content (adjust attribute as needed)
158
  analysis_text = response.result
159
  analysis_html = markdown.markdown(analysis_text) # convert markdown to HTML
160