PFEemp2024 commited on
Commit
c6e7168
·
verified ·
1 Parent(s): acd3439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -224,16 +224,14 @@ if __name__ == "__main__":
224
  input_sentence = gr.Textbox(
225
  placeholder="Input a natural example...",
226
  label="Alternatively, input a natural example and its original label (from above datasets) to generate an adversarial example.",
227
- visible=True
228
  )
229
  input_label = gr.Textbox(
230
  placeholder="Original label, (must be a integer, because we use digits to represent labels in training)",
231
  label="Original Label",
232
- visible=True
233
  )
234
  gr.Markdown(
235
  "<h3 align='center'>To input an example, please select a dataset which the example belongs to or resembles.</h2>",
236
- visible=True
237
  )
238
 
239
  msg_text = gr.Textbox(
 
224
  input_sentence = gr.Textbox(
225
  placeholder="Input a natural example...",
226
  label="Alternatively, input a natural example and its original label (from above datasets) to generate an adversarial example.",
227
+
228
  )
229
  input_label = gr.Textbox(
230
  placeholder="Original label, (must be a integer, because we use digits to represent labels in training)",
231
  label="Original Label",
 
232
  )
233
  gr.Markdown(
234
  "<h3 align='center'>To input an example, please select a dataset which the example belongs to or resembles.</h2>",
 
235
  )
236
 
237
  msg_text = gr.Textbox(