Michalisgeo commited on
Commit
4565790
1 Parent(s): c7f4200

adding all versions back again

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -119,10 +119,9 @@ with gr.Blocks() as demo:
119
  "not be available in all versions.",
120
  )
121
 
122
- # version_values = [float(f"{i:.1f}") for i in range(7, 28)] + [item + 0.1 for item in range(7, 27)]
123
- # version_values.sort()
124
- # version_list = [f"{i:.1f}" for i in version_values]
125
- version_list = ["26.0", "27.0"]
126
 
127
  encode_version = gr.Dropdown(choices=version_list, label="MedDRA Version", value=version_list[-1])
128
  terms_text = gr.HTML("""
 
119
  "not be available in all versions.",
120
  )
121
 
122
+ version_values = [float(f"{i:.1f}") for i in range(7, 28)] + [item + 0.1 for item in range(7, 27)]
123
+ version_values.sort()
124
+ version_list = [f"{i:.1f}" for i in version_values]
 
125
 
126
  encode_version = gr.Dropdown(choices=version_list, label="MedDRA Version", value=version_list[-1])
127
  terms_text = gr.HTML("""