This repository hosts a user-friendly Web User Interface (WebUI) built using Gradio, providing an interactive way to communicate with the Gorilla API directly from Google Colab.
Gorilla LLM is an advanced language model that enables seamless interaction with APIs using natural language commands. This Colab notebook simplifies the process of conversing with Gorilla through a Gradio-based WebUI.
Huge thanks to @ShishirPatil for creating Gorilla Repo
The WebUI leverages the power of Gradio, a Python library for creating intuitive and interactive UIs for machine learning models. The interface is seamlessly deployed on Google Colab, offering a smooth and accessible platform for issuing commands to Gorilla and visualizing its API responses.
To utilize the WebUI, follow these steps:
-
Open the Colab notebook.
-
Execute all cells to load the requisite libraries and models, which may take a minute.
-
Interact with the WebUI by providing prompts and observing Gorilla's API responses.
Experiment with various prompts, such as:
- "Translate this sentence to French"
- "Summarize this paragraph in 5 sentences"
- "Generate an image of a cat"
The outputs are presented in organized blocks, showcasing the domain, API call, provider, explanation, and code.
The Colab notebook can be personalized according to your preferences:
- Modify the Gradio UI by incorporating new components or adjusting the styling to align with your design choices.
- Opt for local deployment instead of using Colab, offering flexibility in where and how the WebUI is run.
Feel free to adapt the notebook to suit your specific requirements and enhance the user experience.
The Gorilla Colab WebUI has received significant recognition and support from the community. Notably, it has been incorporated into the original Gorilla repository and is also showcased on the Hugging Face Gorilla demo space. This acknowledgment underscores the utility and effectiveness of the WebUI in enhancing interactions with the Gorilla API.