Spaces:
Runtime error
Runtime error
nandovallec
commited on
Commit
·
69ab5a9
1
Parent(s):
8a210bf
Secret
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ def translate(text):
|
|
22 |
# text = "Hello world"
|
23 |
source = "bg"
|
24 |
target = "en"
|
25 |
-
|
|
|
26 |
# Construct the URL for the request
|
27 |
url = f"https://translation.googleapis.com/language/translate/v2?key={transl_api_key}&q={text}&source={source}&target={target}"
|
28 |
|
|
|
22 |
# text = "Hello world"
|
23 |
source = "bg"
|
24 |
target = "en"
|
25 |
+
print(gmaps_api_key)
|
26 |
+
print(transl_api_key)
|
27 |
# Construct the URL for the request
|
28 |
url = f"https://translation.googleapis.com/language/translate/v2?key={transl_api_key}&q={text}&source={source}&target={target}"
|
29 |
|