Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.12.0
metadata
title: Ecore Gen
emoji: π
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 4.36.1
app_file: app.py
pinned: true
short_description: Gradio App for Generating and Validating Ecore Files
Gradio App for Generating and Validating Ecore Files
This repository contains a Gradio-based web application that leverages open-source language models from HuggingChat API and OpenAI API. The app provides two tabs: one for using models from HuggingChat and the other for models from OpenAI. Both tabs allow users to generate an Ecore file from a natural language description and iteratively validate it.
ππ Check the full code github Github Repo
Features
- Two Tabs for Model Selection:
- HuggingChat API: Uses open-source language models from HuggingChat. deprecated in this version check the original github repo
- OpenAI API: Uses language models from OpenAI.
- Ecore File Generation: Converts natural language descriptions into Ecore files.
- Iterative Validation: Validates the generated Ecore files iteratively to ensure correctness.
Installation
- Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
- Install the required packages:
pip install -r requirements.txt
Usage
- Navigate to the project directory:
cd your-repo-name
- Run the application:
python app.py
- Open your web browser and go to the provided local address to interact with the app.
Folder Structure
- app.py: Main script to run the Gradio app.
- requirements.txt: List of required Python packages.
- README.md: Project documentation.
Contributing
Contributions are welcome! Please create a new branch for each feature or bug fix:
git checkout -b feature/your-feature-name
Submit a pull request with a detailed explanation of your changes.
Contact
For any questions or feedback, please open an issue or contact [[email protected]].