Update backend.py
Browse files30 unmodified lines3132333435363730 unmodified lines"""# Call Gemini APImodel = genai.GenerativeModel("gemini-pro")response = model.generate_content(prompt)return response.text if response else "Sorry, I couldn't generate a response."30 unmodified lines3132333435363730 unmodified lines"""# Call Gemini APImodel = genai.GenerativeModel("gemini-1.5-flash")response = model.generate_content(prompt)return response.text if response else "Sorry, I couldn't generate a response."
backend.py+1-1