Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1193,7 +1193,7 @@ class GoogleTranslator(BaseTranslator):
|
|
1193 |
self._url_params["sl"] = self._source
|
1194 |
|
1195 |
if self.payload_key:
|
1196 |
-
self._url_params[self.payload_key] =
|
1197 |
|
1198 |
response = requests.get(
|
1199 |
self._base_url, params=self._url_params, proxies=self.proxies
|
|
|
1193 |
self._url_params["sl"] = self._source
|
1194 |
|
1195 |
if self.payload_key:
|
1196 |
+
self._url_params[self.payload_key] = text
|
1197 |
|
1198 |
response = requests.get(
|
1199 |
self._base_url, params=self._url_params, proxies=self.proxies
|