Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def ai_predicted(user_input):
|
|
57 |
user_input = translate_Singlish_to_sinhala(user_input)
|
58 |
user_input = transliterate_to_sinhala(user_input)
|
59 |
user_input = translate_sinhala_to_english(user_input)
|
60 |
-
ai_response = pipe1([{"role": "user", "content": user_input})
|
61 |
# ai_response = conversation_predict(user_input)
|
62 |
ai_response_lines = ai_response.split("</s>")
|
63 |
|
|
|
57 |
user_input = translate_Singlish_to_sinhala(user_input)
|
58 |
user_input = transliterate_to_sinhala(user_input)
|
59 |
user_input = translate_sinhala_to_english(user_input)
|
60 |
+
ai_response = pipe1([{"role": "user", "content": user_input}])
|
61 |
# ai_response = conversation_predict(user_input)
|
62 |
ai_response_lines = ai_response.split("</s>")
|
63 |
|