Himel09 commited on
Commit
37d163b
·
verified ·
1 Parent(s): 888980c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def translation_to_French(api_key, text):
16
  try:
17
 
18
  genai.configure(api_key=api_key)
19
- model = genai.GenerativeModel("gemini-2.5-flash)
20
 
21
  # Translation prompt
22
  translation_prompt = f"Translate the following English text to French:\n\n{text}"
 
16
  try:
17
 
18
  genai.configure(api_key=api_key)
19
+ model = genai.GenerativeModel("gemini-2.5-flash")
20
 
21
  # Translation prompt
22
  translation_prompt = f"Translate the following English text to French:\n\n{text}"