Spaces:
Runtime error
Runtime error
Download app.py from GiuliaAireted/scraper: direct link, hf CLI and curl.
- Browser
- Download file 794 Bytes
-
https://huggingface.co/spaces/GiuliaAireted/scraper/resolve/main/app.py
- Command line
-
hf download hf://spaces/GiuliaAireted/scraper/app.py
-
curl -L -o app.py https://huggingface.co/spaces/GiuliaAireted/scraper/resolve/main/app.py
794 Bytes
| import streamlit as st | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.chrome.service import Service | |
| from webdriver_manager.chrome import ChromeDriverManager | |
| import time | |
| st.title("Hello Streamlit-er 👋") | |
| st.markdown( | |
| """ | |
| This is a playground for you to try Streamlit and have fun. | |
| **There's :rainbow[so much] you can build!** | |
| We prepared a few examples for you to get started. Just | |
| click on the buttons above and discover what you can do | |
| with Streamlit. | |
| """ | |
| ) | |
| if st.button("Send balloons!"): | |
| st.balloons() | |
| # Configura il driver di Chrome | |
| driver = webdriver.Chrome(service=Service(ChromeDriverManager().install())) | |
| st.markdown("test: " + driver) | |