Spaces:
Running
Running
Download run_streamlit.py from nahinfarhan/fruit-classifier: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/nahinfarhan/fruit-classifier/resolve/main/run_streamlit.py
- Command line
-
hf download hf://spaces/nahinfarhan/fruit-classifier/run_streamlit.py
-
curl -L -o run_streamlit.py https://huggingface.co/spaces/nahinfarhan/fruit-classifier/resolve/main/run_streamlit.py
258 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Simple runner for standalone Streamlit app | |
| """ | |
| import subprocess | |
| import sys | |
| if __name__ == "__main__": | |
| print("Starting Streamlit Fruit Classifier...") | |
| subprocess.run([sys.executable, "-m", "streamlit", "run", "app_ui.py"]) |