NeerAbhy commited on
Commit
39d09bc
·
verified ·
1 Parent(s): 47429a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -220,7 +220,7 @@ def translation_text(source_lang, target_lang, user_input):
220
  def print_s(source_lang, target_lang, text0):
221
  print(source_lang)
222
  return lang_id[source_lang], lang_id[target_lang], text0
223
- demo = gr.Blocks()
224
 
225
  with demo:
226
  text0 = gr.Textbox(label = "Enter text here....")
@@ -256,4 +256,4 @@ with demo:
256
  b2 = gr.Button("identification of language")
257
  b2.click(lang_ident,inputs = text0, outputs=text)
258
 
259
- demo.launch(title = "Text Analyzer")
 
220
  def print_s(source_lang, target_lang, text0):
221
  print(source_lang)
222
  return lang_id[source_lang], lang_id[target_lang], text0
223
+ demo = gr.Blocks(title = "Text Analyzer")
224
 
225
  with demo:
226
  text0 = gr.Textbox(label = "Enter text here....")
 
256
  b2 = gr.Button("identification of language")
257
  b2.click(lang_ident,inputs = text0, outputs=text)
258
 
259
+ demo.launch()