This is a simple AI Assistant application built using Streamlit. The app allows users to interact with various AI features and tools.
Make sure you have Python installed. You can download it from python.org.
-
Open Your Code Editor (VS Code)
- Start by opening Visual Studio Code.
-
Open the Project Folder
- Open the folder where you want to store your project files.
-
Create the Necessary Files
- Create the following files within your project folder:
.streamlit/
app.py
nebula.png
requirements.txt
style.css
- Create the following files within your project folder:
-
Add the Code to Each File
- Copy the necessary code and paste it into the respective files, ensuring everything is in the correct place.
-
Open the Terminal in VS Code
- Access the terminal by selecting Terminal > New Terminal in VS Code.
-
Set Up a Virtual Environment
- Run the following command in the terminal to create a virtual environment:
python -m venv myenv
- Activate the virtual environment (adjust for your OS):
- On Windows:
.\myenv\Scripts\activate
- On macOS/Linux:
source myenv/bin/activate
- On Windows:
- Run the following command in the terminal to create a virtual environment:
-
Install Required Packages
- Install the necessary dependencies by running:
pip install -r requirements.txt
- Install the necessary dependencies by running:
-
Run the Application
- Start the Streamlit app by running:
streamlit run app.py
- Start the Streamlit app by running:
-
Access the App
- Once the command runs successfully, you’ll see a local URL link. Open it in your browser to view the app.