Spaces:
Runtime error
Runtime error
Download app2.py from babloo555777/Test: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/babloo555777/Test/resolve/main/app2.py
- Command line
-
hf download hf://spaces/babloo555777/Test/app2.py
-
curl -L -o app2.py https://huggingface.co/spaces/babloo555777/Test/resolve/main/app2.py
408 Bytes
| import streamlit as st | |
| import pandas as pd | |
| import requests | |
| # Streamlit UI | |
| st.title("Test App") | |
| st.write("This tool predicts the sales for a specific SuperKart store. Enter the required information below.") | |
| if st.button("Predict", type='primary'): | |
| result = requests.get() | |
| st.success(result) | |
| else: | |
| st.write(f"Error in API request") | |