ikenna1234 commited on
Commit
aed9962
·
1 Parent(s): 39f88fd
Files changed (1) hide show
  1. app.py +1 -1
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(