Spaces:
Sleeping
Sleeping
Dhahlan2000
commited on
Commit
•
dfaa287
1
Parent(s):
d119d56
Update app.py
Browse files
app.py
CHANGED
@@ -74,9 +74,9 @@ def ai_predicted(user_input):
|
|
74 |
"inputs": user_input,
|
75 |
})
|
76 |
# ai_response = conversation_predict(user_input)
|
77 |
-
ai_response_lines = ai_response.split("</s>")
|
78 |
|
79 |
-
response = translate_english_to_sinhala(
|
80 |
response = transliterate_from_sinhala(response)
|
81 |
return response
|
82 |
|
|
|
74 |
"inputs": user_input,
|
75 |
})
|
76 |
# ai_response = conversation_predict(user_input)
|
77 |
+
# ai_response_lines = ai_response.split("</s>")
|
78 |
|
79 |
+
response = translate_english_to_sinhala(ai_response)
|
80 |
response = transliterate_from_sinhala(response)
|
81 |
return response
|
82 |
|