ysharma HF staff commited on
Commit
7352b88
1 Parent(s): fe0fc02
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -188,7 +188,7 @@ def translate_Chinese_English(chinese_text):
188
  trans_eng_text = tokenizer_chtoen.batch_decode(generated_tokens, skip_special_tokens=True)
189
  return trans_eng_text[0]
190
 
191
-
192
  with gr.Blocks() as demo:
193
  chatbot = gr.Chatbot()
194
  state = gr.State([])
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
199
  txt.submit(predict, [txt, state], [chatbot, state])
200
 
201
  demo.launch(debug=True)
202
-
203
 
204
  def reset_textbox():
205
  return gr.update(value="")
 
188
  trans_eng_text = tokenizer_chtoen.batch_decode(generated_tokens, skip_special_tokens=True)
189
  return trans_eng_text[0]
190
 
191
+ """
192
  with gr.Blocks() as demo:
193
  chatbot = gr.Chatbot()
194
  state = gr.State([])
 
199
  txt.submit(predict, [txt, state], [chatbot, state])
200
 
201
  demo.launch(debug=True)
202
+ """
203
 
204
  def reset_textbox():
205
  return gr.update(value="")