Andrei-Iulian SĂCELEANU commited on
Commit
7d0a00c
·
1 Parent(s): db8dccd

added all options in dropdown

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as ssl_interface:
75
  with gr.Column():
76
  in_text = gr.Textbox(label="Input text")
77
  model_list = gr.Dropdown(
78
- choices=["fixmatch", "freematch", "mixmatch"],
79
  max_choices=1,
80
  label="Training method",
81
  allow_custom_value=False,
@@ -87,7 +87,7 @@ with gr.Blocks() as ssl_interface:
87
  submit_btn = gr.Button(value="Submit")
88
 
89
  with gr.Column():
90
- out_field = gr.Label(num_top_classes=4,label="Prediction")
91
 
92
  submit_btn.click(
93
  fn=ssl_predict,
 
75
  with gr.Column():
76
  in_text = gr.Textbox(label="Input text")
77
  model_list = gr.Dropdown(
78
+ choices=["fixmatch", "freematch", "mixmatch", "contrastive_reg", "label_propagation"],
79
  max_choices=1,
80
  label="Training method",
81
  allow_custom_value=False,
 
87
  submit_btn = gr.Button(value="Submit")
88
 
89
  with gr.Column():
90
+ out_field = gr.Label(num_top_classes=4, label="Prediction")
91
 
92
  submit_btn.click(
93
  fn=ssl_predict,