Spaces:
Sleeping
Sleeping
File size: 480 Bytes
eb0685b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import streamlit as st
import streamlit.components.v1 as components
st.set_page_config(layout="wide")
st.title("Site com Streamlit + Gradio")
col1, col2 = st.columns(2)
with col1:
st.subheader("Parte Streamlit")
st.write("Aqui podes meter gráficos, tabelas, filtros, métricas, etc.")
st.metric("Utilizadores", 120)
st.metric("Projetos", 8)
with col2:
st.subheader("Parte Gradio")
components.iframe("http://127.0.0.1:7860", height=500, scrolling=True) |