vishwask commited on
Commit
c610e38
·
verified ·
1 Parent(s): aad0bf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)