hruday96 commited on
Commit
f115be4
·
verified ·
1 Parent(s): 30c343f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ if st.button("Generate"):
34
  if medicine_name: # Ensure the medicine name is entered
35
  try:
36
  # Initialize the generative model (adjust model name if needed)
37
- model = genai.GenerativeModel('gemini-pro') # Ensure this is the correct model name
38
 
39
  # Generate content based on the prompt
40
  response = model.generate_content(prompt)
 
34
  if medicine_name: # Ensure the medicine name is entered
35
  try:
36
  # Initialize the generative model (adjust model name if needed)
37
+ model = genai.GenerativeModel('gemini-2.0-flash') # Ensure this is the correct model name
38
 
39
  # Generate content based on the prompt
40
  response = model.generate_content(prompt)