Spaces:
Sleeping
Sleeping
Download src/streamlit_app.py from Saipavan06/import-test: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/Saipavan06/import-test/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/Saipavan06/import-test/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/Saipavan06/import-test/resolve/main/src/streamlit_app.py
251 Bytes
| import os | |
| import requests | |
| import streamlit as st | |
| st.title("Hugging Face Import Test") | |
| st.write("OS module loaded successfully ✅") | |
| response = requests.get("https://api.github.com") | |
| st.write("Requests working, Status Code:", response.status_code) | |