Julien Matuszak commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def preprocess_text(text: str):
|
|
| 68 |
def preprocess_and_forward(text: str):
|
| 69 |
"""Process text and forward to translation service."""
|
| 70 |
original_text, preprocessing_result = preprocess_text(text)
|
| 71 |
-
client = Client("Frenchizer/
|
| 72 |
try:
|
| 73 |
translation = client.predict(original_text)
|
| 74 |
return translation, preprocessing_result
|
|
|
|
| 68 |
def preprocess_and_forward(text: str):
|
| 69 |
"""Process text and forward to translation service."""
|
| 70 |
original_text, preprocessing_result = preprocess_text(text)
|
| 71 |
+
client = Client("Frenchizer/space_21")
|
| 72 |
try:
|
| 73 |
translation = client.predict(original_text)
|
| 74 |
return translation, preprocessing_result
|