kaitongg/Critique_text-dataset
Viewer • Updated • 2k • 18
This Gradio application performs image and text classification related to architectural design and generates a structured prompt based on the classification results. This version focuses on the classification and prompt generation steps, excluding the interaction with a Large Language Model for generating feedback.
The application takes two inputs:
Based on these inputs, the application performs:
The results of both classifications are then used to generate a structured prompt, intended for use with a Large Language Model (LLM).
keerthikoganti/architecture-design-stages-compact-cnn).sentence-transformers/all-MiniLM-L6-v2 from Hugging Face.kaitongg/my-autogluon-model), trained on text embeddings.This application is designed to be deployed on Hugging Face Spaces.
app.py: Contains the complete Gradio application code, including model loading, function definitions, and the Gradio interface.requirements.txt: Lists the necessary Python packages to install for the Space environment.app.py file.To deploy this application:
app.py and requirements.txt files to your Space.HF_TOKEN_WRITE if your text predictor repo is private) are added to your Space settings as environment variables.