Yurii Paniv commited on
Commit
cb99192
1 Parent(s): 15d500a

Add example

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -86,7 +86,10 @@ iface = gr.Interface(
86
  value='This demo contains a model from paper "Setting up the Data Printer with Improved English to Ukrainian Machine Translation", accepted to UNLP 2024 workshop at the LREC-COLING 2024 conference.',
87
  label="Source sentence",
88
  ),
89
- outputs=gr.Textbox(label="Translated sentence"),
 
 
 
90
  examples=[
91
  [
92
  "ChatGPT (Chat Generative Pre-trained Transformer) is a chatbot developed by OpenAI and launched on November 30, 2022. Based on a large language model, it enables users to refine and steer a conversation towards a desired length, format, style, level of detail, and language. Successive prompts and replies, known as prompt engineering, are considered at each conversation stage as a context.[2] ",
 
86
  value='This demo contains a model from paper "Setting up the Data Printer with Improved English to Ukrainian Machine Translation", accepted to UNLP 2024 workshop at the LREC-COLING 2024 conference.',
87
  label="Source sentence",
88
  ),
89
+ outputs=gr.Textbox(
90
+ value='Ця демо-версія містить модель із статті "Налаштування принтера даних із покращеним машинним перекладом з англійської на українську", яка була прийнята до семінару UNLP 2024 на конференції LREC-COLING 2024.',
91
+ label="Translated sentence",
92
+ ),
93
  examples=[
94
  [
95
  "ChatGPT (Chat Generative Pre-trained Transformer) is a chatbot developed by OpenAI and launched on November 30, 2022. Based on a large language model, it enables users to refine and steer a conversation towards a desired length, format, style, level of detail, and language. Successive prompts and replies, known as prompt engineering, are considered at each conversation stage as a context.[2] ",