Spaces:
Running
Running
Commit
·
aed9962
1
Parent(s):
39f88fd
Changes
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def respond(
|
|
29 |
|
30 |
print("the text",message, 'the source',sourceLanguage,"the target",targetLanguage)
|
31 |
|
32 |
-
if(useGoogle):
|
33 |
print("using google")
|
34 |
text="Translate to "f"{targetLanguage}: "f"{message}"
|
35 |
googleResponse= googleClient.text_generation(
|
|
|
29 |
|
30 |
print("the text",message, 'the source',sourceLanguage,"the target",targetLanguage)
|
31 |
|
32 |
+
if(useGoogle=="true"):
|
33 |
print("using google")
|
34 |
text="Translate to "f"{targetLanguage}: "f"{message}"
|
35 |
googleResponse= googleClient.text_generation(
|