Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,9 @@ def respond(
|
|
85 |
from googletrans import Translator
|
86 |
translator = Translator()
|
87 |
en_message = ""
|
|
|
|
|
|
|
88 |
try:
|
89 |
message_language = translator.detect(message).lang
|
90 |
print(message_language)
|
|
|
85 |
from googletrans import Translator
|
86 |
translator = Translator()
|
87 |
en_message = ""
|
88 |
+
print("===message===")
|
89 |
+
print(message)
|
90 |
+
print("============")
|
91 |
try:
|
92 |
message_language = translator.detect(message).lang
|
93 |
print(message_language)
|