sikeaditya commited on
Commit
5276211
·
verified ·
1 Parent(s): 7d8fb22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def translate_text(text):
123
  try:
124
  print(f"Attempt {attempt + 1} to translate text using Gemini...")
125
  # Updated model options to use the latest available models
126
- model_options = ['gemini-2.0-pro', 'gemini-2.0-flash', 'gemini-pro']
127
 
128
  for model_name in model_options:
129
  try:
 
123
  try:
124
  print(f"Attempt {attempt + 1} to translate text using Gemini...")
125
  # Updated model options to use the latest available models
126
+ model_options = ['gemini-2.0-flash']
127
 
128
  for model_name in model_options:
129
  try: