This repository contains a Python script for interacting with the NeuraNET API. This script allows NeuraNET to control your computer.
- User Input Processing: Accepts user inputs and formats them for processing by the NeuraNET API.
- NeuraNET API Communication: Sends requests to the NeuraNET API and retrieves Python code generated by the model.
- Code Execution: Executes the generated Python code in a safe environment, handling exceptions and errors.
Additionally, ensure that you have a valid NeuraNET API key, which is necessary for API authentication.
-
Clone the Repository:
git clone https://github.com/DarkTwentyFive/NeuraNET-Computer-Controller.git
-
Install Dependencies: Navigate to the cloned directory and install the required dependencies using the requirements.txt file:
pip install -r requirements.txt
-
API Key Configuration: Set your NeuraNET API key as an environment variable:
export NEURANET_API_KEY='your_neuranet_api_key_here'
To use the script, follow these steps:
-
Run the Script: Execute the script using Python:
python main.py
-
Enter a Task: When prompted, enter the task for which you want to generate Python code.
-
Review Output: The script will display the generated Python code and execute it. Any errors during execution will be reported.
This project is licensed under the MIT License - see the LICENSE file for details.