# ๐Ÿฆ‹ SilkMoth Frontend This is the **frontend** for the **SilkMoth** project, built with the [Streamlit](https://streamlit.io/) framework to provide an interactive web interface. --- ## โš™๏ธ Requirements - [Python](https://www.python.org/) installed on your system - `venv` module for virtual environments - Project data available in the `experiment/data/` folder --- ## ๐Ÿš€ Setup Two setup scripts are providedโ€”one for **Windows** and another for **Linux/macOS**. These scripts will: 1. Create a virtual environment 2. Install all necessary Python dependencies 3. Launch the frontend application ### ๐ŸชŸ Windows Open a terminal in the `frontend` directory and run: ```bash .\setup_win.bat ``` --- ### ๐Ÿง Linux / ๐ŸŽ macOS Open a terminal in the `frontend` directory and run: ```bash ./setup_unix.sh ``` --- ## โ–ถ๏ธ Usage Once the setup is complete, follow these steps to run the frontend manually: ### 1. Activate the virtual environment #### ๐ŸชŸ Windows ```powershell .\.venv\Scripts\Activate.ps1 ``` ### ๐Ÿง Linux / ๐ŸŽ macOS Activate the virtual environment: ```bash source .venv/bin/activate ``` ### 2. Run the Streamlit app ```bash streamlit run app.py ```