Ecore-Gen / README.md
VeryMadSoul's picture
Update README.md
dbd8d31 verified

A newer version of the Gradio SDK is available: 5.12.0

Upgrade
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

  1. Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
  1. Install the required packages:
pip install -r requirements.txt

Usage

  1. Navigate to the project directory:
cd your-repo-name
  1. Run the application:
python app.py
  1. 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]].