YAML Metadata Warning: empty or missing yaml metadata in repo card
Check out the documentation for more information.
Leffa Project
Steps to Access and Run Files from the Hugging Face Repository
1. Open VS Code
Open Visual Studio Code on your computer.
2. Clone the Repository
- Open the VS Code terminal:
- Press
Ctrl + ~on Windows/Linux - Press
Cmd + ~on macOS
- Press
- Run the following command to clone the repository:
git clone https://huggingface.co/dhairya16/leffa.git cd leffa
3. Open the Project in VS Code
- In the VS Code terminal, run:
This will open thecode .leffafolder in VS Code.
4. Open app.py and test.py
- In VS Code, go to the Explorer:
- Press
Ctrl + Shift + E
- Press
- Locate and open
app.py. - Locate and open
test.py.
5. Run test.py in VS Code Terminal
- Open the VS Code terminal:
- Press
Ctrl + ~
- Press
- Run the following command to execute
test.py:python test.py- If you're using unittest, run:
python -m unittest test.py- If you're using pytest, run:
pytest test.py
- Make sure you have the required dependencies installed in your environment.
- If you don't have
pytestorunittestinstalled, use:pip install pytest
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support