Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
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:
|