Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Interactive UI #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

akshat448
Copy link

Created an interactive UI using Gradio

Gradio

Gradio is a Python library that simplifies and accelerates the process of building interactive machine learning and interfaces. It provides an easy-to-use platform for creating web-based UIs for your machine-learning models, allowing users to interact with and make predictions using those models without needing any programming experience. It can easily be used with Colab or Jyupter notebooks

Process

  1. I started cloning the repository to get access to data and the saved trained model.
  2. Loading the saved trained model and getting the class names (Monument names).
  3. Looked at the Gradio documentation to understand how to create an interface and its requirements.
  4. We needed to create a function that would take an image (formatted it as a numpy array through gradio input) and perform processes on it to get it into the proper format that is sent to the model to be predicted, returning the class name (monument name).
  5. Gradio has various different components that can be used with its interface, I used the input image component with a textbox as output that displayed the class name.

Screenshot 2023-10-29 175102

Credits

  • Made by Akshat Bakshi
  • Roll No: 102306021
  • Electronics and communication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant