ArmelRandy commited on
Commit
0574c71
·
1 Parent(s): 8065555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -56,6 +56,7 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
56
  split = gr.Dropdown(choices=splits, label="Dataset split", value=splits[0])
57
  with gr.Row() :
58
  index_example = gr.Slider(minimum=0, maximum=10000, step=1, value=0, interactive=True, info=f"Index of the chosen instruction-output pair.")
 
59
  with gr.Column():
60
  prompt = gr.Textbox(label="prompt")
61
  with gr.Column():
@@ -63,6 +64,7 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
63
  with gr.Blocks():
64
  with gr.Row() :
65
  language = gr.Dropdown(choices=languages, label="Translation language", value=languages[0])
 
66
  with gr.Column() :
67
  translated_prompt = gr.Textbox(label="Translated prompt")
68
  with gr.Column() :
 
56
  split = gr.Dropdown(choices=splits, label="Dataset split", value=splits[0])
57
  with gr.Row() :
58
  index_example = gr.Slider(minimum=0, maximum=10000, step=1, value=0, interactive=True, info=f"Index of the chosen instruction-output pair.")
59
+ with gr.Row() :
60
  with gr.Column():
61
  prompt = gr.Textbox(label="prompt")
62
  with gr.Column():
 
64
  with gr.Blocks():
65
  with gr.Row() :
66
  language = gr.Dropdown(choices=languages, label="Translation language", value=languages[0])
67
+ with gr.Row() :
68
  with gr.Column() :
69
  translated_prompt = gr.Textbox(label="Translated prompt")
70
  with gr.Column() :