Update app.py
Browse files
app.py
CHANGED
@@ -282,7 +282,7 @@ def demo():
|
|
282 |
type="value", info="Choose your language",interactive = True)
|
283 |
lang_btn.select(intitalize_lang, inputs = lang_btn)
|
284 |
|
285 |
-
chatbot = gr.Chatbot(height=300)
|
286 |
|
287 |
with gr.Row():
|
288 |
msg = gr.Textbox(placeholder="Type message", container=True)
|
|
|
282 |
type="value", info="Choose your language",interactive = True)
|
283 |
lang_btn.select(intitalize_lang, inputs = lang_btn)
|
284 |
|
285 |
+
chatbot = gr.Chatbot(height=300, preprocess = english_to_indian, postprocess = indian_to_english)
|
286 |
|
287 |
with gr.Row():
|
288 |
msg = gr.Textbox(placeholder="Type message", container=True)
|