Spaces:
Runtime error
Runtime error
Update MT-API version
Browse files
app.py
CHANGED
@@ -86,6 +86,7 @@ def translate_input(input, source_language, target_language):
|
|
86 |
if translation is not None:
|
87 |
return translation
|
88 |
|
|
|
89 |
return None
|
90 |
|
91 |
|
|
|
86 |
if translation is not None:
|
87 |
return translation
|
88 |
|
89 |
+
gr.Warning('Inference endpoint is not available. Please try again later.')
|
90 |
return None
|
91 |
|
92 |
|