Felix Marty commited on
Commit
5a87989
1 Parent(s): b0bebf5
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -83,10 +83,19 @@ with gr.Blocks() as demo:
83
  label="Output single vanilla",
84
  value=get_message_single(**defaults_vanilla_single),
85
  )
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
- btn_spam_vanilla = gr.Button(
88
- "Spam text requests (from sst2 validation set)"
89
- )
90
  output_spam_vanilla = gr.Markdown(
91
  label="Output spam vanilla",
92
  value=get_message_spam(**defaults_vanilla_spam),
@@ -126,12 +135,13 @@ with gr.Blocks() as demo:
126
 
127
  with gr.Row():
128
  with gr.Column(scale=40):
129
- input_n_inputs = gr.Textbox(
130
  max_lines=1,
131
  label="Number of inputs",
132
  value=8,
133
  )
134
  with gr.Column(scale=60):
 
135
  btn_spam_bt = gr.Button("Spam text requests (from sst2 validation set)")
136
 
137
  output_spam_bt = gr.Markdown(
 
83
  label="Output single vanilla",
84
  value=get_message_single(**defaults_vanilla_single),
85
  )
86
+ with gr.Column():
87
+ with gr.Column(scale=40):
88
+ input_n_inputs_vanilla = gr.Textbox(
89
+ max_lines=1,
90
+ label="Number of inputs",
91
+ value=8,
92
+ )
93
+ with gr.Column(scale=60):
94
+ gr.Markdown("")
95
+ btn_spam_vanilla = gr.Button(
96
+ "Spam text requests (from sst2 validation set)"
97
+ )
98
 
 
 
 
99
  output_spam_vanilla = gr.Markdown(
100
  label="Output spam vanilla",
101
  value=get_message_spam(**defaults_vanilla_spam),
 
135
 
136
  with gr.Row():
137
  with gr.Column(scale=40):
138
+ input_n_inputs_bt = gr.Textbox(
139
  max_lines=1,
140
  label="Number of inputs",
141
  value=8,
142
  )
143
  with gr.Column(scale=60):
144
+ gr.Markdown("")
145
  btn_spam_bt = gr.Button("Spam text requests (from sst2 validation set)")
146
 
147
  output_spam_bt = gr.Markdown(