File size: 713 Bytes
66c9358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
.\venv\Scripts\Activate.ps1  #powershell
venv\Scripts\activate.bat    #cmd

streamlit run app.py --server.enableXsrfProtection false


your_project/
β”œβ”€β”€ venv/                   # Virtual environment (already created)
β”œβ”€β”€ app.py                  # Main application file
β”œβ”€β”€ requirements.txt         # Dependencies file
β”œβ”€β”€ static/
β”‚   └── uploads/            # For storing uploaded images
└── templates/              # For HTML templates (if using web interface)


chat/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ venv/ (optional, ignored in cloud)
└── .streamlit/
    └── config.toml