Spaces:
Runtime error
Runtime error
Use st.columns instead of st.beta_columns
Browse files- app/components.py +1 -1
app/components.py
CHANGED
@@ -205,7 +205,7 @@ def show_code_component(inputs: Dict[str, str]) -> Dict[str, str]:
|
|
205 |
|
206 |
st.write(f'## Code view: {inputs["api"]}')
|
207 |
st.write("") # add vertical space
|
208 |
-
col1, col2 = st.
|
209 |
with col1:
|
210 |
utils.download_button(code, "generated-code.py", "🐍 Download (.py)")
|
211 |
with col2:
|
|
|
205 |
|
206 |
st.write(f'## Code view: {inputs["api"]}')
|
207 |
st.write("") # add vertical space
|
208 |
+
col1, col2 = st.columns(2)
|
209 |
with col1:
|
210 |
utils.download_button(code, "generated-code.py", "🐍 Download (.py)")
|
211 |
with col2:
|