Spaces:
Running
Running
Commit
·
fccbe3c
1
Parent(s):
35bfa38
Changes
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def respond(
|
|
33 |
print("using google")
|
34 |
text="Translate to "f"{targetLanguage}: "f"{message}"
|
35 |
googleResponse= googleClient.text_generation(
|
36 |
-
text, max_new_tokens=
|
37 |
)
|
38 |
|
39 |
return googleResponse
|
|
|
33 |
print("using google")
|
34 |
text="Translate to "f"{targetLanguage}: "f"{message}"
|
35 |
googleResponse= googleClient.text_generation(
|
36 |
+
text, max_new_tokens=240
|
37 |
)
|
38 |
|
39 |
return googleResponse
|