streamlit / 30days-i18n Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
st.experimental_get_query_params has been updated to get_query_params. There are some minor code updates. Please use:
import streamlit as st
st.title('st.query_params')
with st.expander('About this app'):
st.write("`st.query_params` allows the retrieval of query parameters directly from the URL of the user's browser.")
# 1. Instructions
st.header('1. Instructions')
st.markdown('''
In the above URL bar of your internet browser, append the following:
`?firstname=Jack&surname=Beanstalk`
after the base URL `http://share.streamlit.io/dataprofessor/st.query_params/`
such that it becomes
`http://share.streamlit.io/dataprofessor/st.query_params/?firstname=Jack&surname=Beanstalk`
''')
# 2. Contents of st.query_params
st.header('2. Contents of st.query_params')
st.write(st.query_params.to_dict())
# 3. Retrieving and displaying information from the URL
st.header('3. Retrieving and displaying information from the URL')
firstname = st.query_params.get_all('firstname')[0]
surname = st.query_params.get_all('surname')[0]
st.write(f'Hello **{firstname} {surname}**, how are you?')
Oh no. Error running app. If this keeps happening, please contact support.
Está ocurriendo qué el botón no redirige a la ruta de ingreso a la plataforma. Aparece que es un error.
Traceback (most recent call last):
File "streamlit_app.py", line 7, in
from streamlit.locale import gettext as _
ModuleNotFoundError: No module named 'streamlit.locale'
Hi there,
When I tried to access the 30 day streamlit tutorial:
30days.streamlit.app
I get this error:
Oh no.
Error running app. If this keeps happening, please contact support.
Do you mind helping me?
Hello guys,
Firstly, the demo app of Day 14 does not work.
running it locally, I got below error message.
PydanticImportError: BaseSettings
has been moved to the pydantic-settings
package. See https://docs.pydantic.dev/2.5/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.5/u/import-error
Hello, I purposed to make a challenge but the website returned to me an error
Oh no.
Error running app. If this keeps happening, please [contact support](https://github.com/streamlit/30days-i18n/issues/new).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.