File size: 1,383 Bytes
43e7ae4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | # π Quick Start Guide
## Running the HITL Drug Discovery Application
### Option 1: Easy Launcher (Recommended)
```bash
python run.py
```
### Option 2: Direct Launch
```bash
# Activate virtual environment
source venv/bin/activate # On Windows: venv\Scripts\activate
# Run the application
python app.py
```
### Option 3: Legacy Version (Backup)
```bash
# Activate virtual environment
source venv/bin/activate
# Run legacy version
python legacy/app_legacy.py
```
## π Access the Application
Once running, open your browser and go to:
**http://localhost:7860**
## π Stop the Application
Press `Ctrl+C` in the terminal to stop the application.
## π Project Structure
- **`app.py`** - Main entry point (works for both local and Hugging Face Spaces)
- **`run.py`** - Easy launcher script
- **`src/`** - Modular source code
- **`legacy/`** - Legacy monolithic version (backup)
- **`venv/`** - Virtual environment
## π§ Troubleshooting
### Virtual Environment Issues
```bash
# Create virtual environment
python -m venv venv
# Activate it
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
```
### Import Errors
Make sure you're in the project directory and virtual environment is activated.
### Port Already in Use
If port 7860 is busy, the app will automatically use the next available port.
|