Spaces:
Running
Running
File size: 2,058 Bytes
55807c5 b64ec36 55807c5 b3d3bec dbd8d31 28efd33 b3d3bec 35912db b3d3bec b64ec36 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
---
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](https://github.com/AlaouiMdaghriAhmed/Ecore-Gen)
## Features
- Two Tabs for Model Selection:
- HuggingChat API: Uses open-source language models from HuggingChat. <span style="color:red"> *deprecated in this version check the original github repo*</span>
- 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:
```bash
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
```
2. Install the required packages:
```bash
pip install -r requirements.txt
```
## Usage
1. Navigate to the project directory:
```bash
cd your-repo-name
```
2. Run the application:
```bash
python app.py
```
3. 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:
```bash
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]]. |