4rtemi5 commited on
Commit
4b15716
1 Parent(s): 0203719

fix streamlit changes

Browse files
Files changed (1) hide show
  1. text2image.py +2 -2
text2image.py CHANGED
@@ -135,7 +135,7 @@ def app():
135
  ]
136
  sugg_idx = -1
137
 
138
- col1, col2, col3, col4, col5, col6 = st.columns([1, 1, 1.2, 1.2, 1.4, 1.4])
139
  with col1:
140
  if st.button(suggestions[0]):
141
  sugg_idx = 0
@@ -155,7 +155,7 @@ def app():
155
  if st.button(suggestions[5]):
156
  sugg_idx = 5
157
 
158
- col1, col2 = st.columns([3, 1])
159
  with col1:
160
  query = st.text_input("... or insert an Italian query text")
161
  with col2:
 
135
  ]
136
  sugg_idx = -1
137
 
138
+ col1, col2, col3, col4, col5, col6 = st.columns(6)
139
  with col1:
140
  if st.button(suggestions[0]):
141
  sugg_idx = 0
 
155
  if st.button(suggestions[5]):
156
  sugg_idx = 5
157
 
158
+ col1, col2 = st.columns([0.75, 0.25])
159
  with col1:
160
  query = st.text_input("... or insert an Italian query text")
161
  with col2: