Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def translate(input_text):
|
|
| 22 |
# API Request:
|
| 23 |
response = query({"inputs": input_text, "options": {"wait_for_model": True}})
|
| 24 |
|
| 25 |
-
translation = response[0]["translation_text"]
|
| 26 |
|
| 27 |
return response
|
| 28 |
|
|
|
|
| 22 |
# API Request:
|
| 23 |
response = query({"inputs": input_text, "options": {"wait_for_model": True}})
|
| 24 |
|
| 25 |
+
#translation = response[0]["translation_text"]
|
| 26 |
|
| 27 |
return response
|
| 28 |
|