This Python script is designed to facilitate the process of adding LLM (Language Model) files to Ollama.
flet: This script utilizes thefletlibrary for creating graphical user interfaces (GUIs) in Python. Make sure to install this library before running the script.
- Ensure you have the necessary dependencies installed, particularly the
fletlibrary. - Run the script using a Python interpreter.
- The script will open a GUI window where you can interact with the interface.
- Follow the prompts in the GUI to select an LLM GGUF model file and enter the LLM name.
- Click on the "Add LLM to Ollama" button to initiate the process of adding the LLM to Ollama.
- Depending on the outcome of the operation, you will receive a success or error message via a dialog box in the GUI.
- The script utilizes the
fletlibrary to create a GUI window with various interactive elements. - Users can select an LLM GGUF model file and specify the name of the LLM to be added to Ollama.
- Upon clicking the "Add LLM to Ollama" button, the script executes a command to add the specified LLM to Ollama.
- Success and error messages are displayed to the user based on the outcome of the operation.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.