Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def preprocess_text(text: str, is_suggestion_applied: bool = False):
|
|
| 52 |
})
|
| 53 |
|
| 54 |
# Translate the text (after preprocessing if first pass, or as-is if suggestion applied)
|
| 55 |
-
client = Client("Frenchizer/
|
| 56 |
try:
|
| 57 |
translation = client.predict(text)
|
| 58 |
except Exception as e:
|
|
|
|
| 52 |
})
|
| 53 |
|
| 54 |
# Translate the text (after preprocessing if first pass, or as-is if suggestion applied)
|
| 55 |
+
client = Client("Frenchizer/space_21")
|
| 56 |
try:
|
| 57 |
translation = client.predict(text)
|
| 58 |
except Exception as e:
|