ylacombe commited on
Commit
2a77c39
·
1 Parent(s): 930699a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -373,16 +373,7 @@ with gr.Blocks(title=title) as demo:
373
  with gr.Row():
374
  identified_lang = gr.Textbox(visible=True, label="Identified Language", show_label=True, interactive=False)
375
 
376
-
377
- with gr.Row():
378
- gr.Examples(
379
- EXAMPLES,
380
- [visible_chatbot, non_visible_chatbot, txt],
381
- [visible_chatbot, non_visible_chatbot, txt, identified_lang],
382
- add_text,
383
- cache_examples=False,
384
- run_on_click=False, # Will not work , user should submit it
385
- )
386
  gr.Markdown(
387
  """
388
  This Space demonstrates how to facilitate LLM access to a wide range of languages, including under-served languages, using open-source models.
@@ -411,6 +402,16 @@ You can verify what was sent to the chatbot model here. It is ideally in English
411
  bubble_full_width=False,
412
  height=150,
413
  )
 
 
 
 
 
 
 
 
 
 
414
 
415
  clear_btn = gr.ClearButton([visible_chatbot, non_visible_chatbot])
416
 
 
373
  with gr.Row():
374
  identified_lang = gr.Textbox(visible=True, label="Identified Language", show_label=True, interactive=False)
375
 
376
+
 
 
 
 
 
 
 
 
 
377
  gr.Markdown(
378
  """
379
  This Space demonstrates how to facilitate LLM access to a wide range of languages, including under-served languages, using open-source models.
 
402
  bubble_full_width=False,
403
  height=150,
404
  )
405
+
406
+ with gr.Row():
407
+ gr.Examples(
408
+ EXAMPLES,
409
+ [visible_chatbot, non_visible_chatbot, txt],
410
+ [visible_chatbot, non_visible_chatbot, txt, identified_lang],
411
+ add_text,
412
+ cache_examples=False,
413
+ run_on_click=False, # Will not work , user should submit it
414
+ )
415
 
416
  clear_btn = gr.ClearButton([visible_chatbot, non_visible_chatbot])
417