@@ -368,7 +368,7 @@ def get_infos(d_name):
368368 continue
369369 example = dataset [ex_idx ]
370370 example = removeHyphen (example )
371- col1 , _ , col2 = st .columns ([12 , 1 , 12 ])
371+ col1 , _ , col2 = st .beta_columns ([12 , 1 , 12 ])
372372 with col1 :
373373 st .write (example )
374374 if num_templates > 0 :
@@ -392,7 +392,7 @@ def get_infos(d_name):
392392 #
393393 # Create a new template or select an existing one
394394 #
395- col1a , col1b , _ , col2 = st .columns ([9 , 9 , 1 , 6 ])
395+ col1a , col1b , _ , col2 = st .beta_columns ([9 , 9 , 1 , 6 ])
396396
397397 # current_templates_key and state.templates_key are keys for the templates object
398398 current_templates_key = (dataset_key , conf_option .name if conf_option else None )
@@ -426,7 +426,7 @@ def get_infos(d_name):
426426 else :
427427 state .new_template_name = None
428428
429- with col1b , st .expander ("or Select Template" , expanded = True ):
429+ with col1b , st .beta_expander ("or Select Template" , expanded = True ):
430430 dataset_templates = template_collection .get_dataset (* state .templates_key )
431431 template_list = dataset_templates .all_template_names
432432 if state .template_name :
@@ -450,15 +450,15 @@ def get_infos(d_name):
450450 \n - **Implicit situation or contextualization**: how explicit is the query? For instance, *Given this review, would you buy this product?* is an indirect way to ask whether the review is positive.
451451 """
452452
453- col1 , _ , _ = st .columns ([18 , 1 , 6 ])
453+ col1 , _ , _ = st .beta_columns ([18 , 1 , 6 ])
454454 with col1 :
455455 if state .template_name is not None :
456456 show_text (variety_guideline )
457457
458458 #
459459 # Edit the created or selected template
460460 #
461- col1 , _ , col2 = st .columns ([18 , 1 , 6 ])
461+ col1 , _ , col2 = st .beta_columns ([18 , 1 , 6 ])
462462 with col1 :
463463 if state .template_name is not None :
464464 template = dataset_templates [state .template_name ]
0 commit comments