My dynaminc buttons appear vertically, wherein i would want them to appear vertically, on the same line!
any idea how could I implement this!
for i in tokens_without_sw:
st.button(str(i), key = "btn" + str(counter))
counter += 1
if str(i):
req = requests.get(f'https://tuna.thesaurus.com/pageData/{str(i)}')
dict_synonyms = req.json()['data']['definitionData']['definitions'][0]['synonyms']
synonyms = [r["term"] for r in dict_synonyms]
st.write(sorted(synonyms))