/fuego

[WIP] A 🔥 interface for running code in the cloud

Primary LanguagePythonApache License 2.0Apache-2.0

fuego

A 🔥 tool for running code in the cloud

🔥Open In Colab🔥

Note

This project is a WIP and just an idea right now. Under active development.

🤗 Suggestions/ideas/feedback from community are welcome! Please feel free to submit a new idea in the discussions tab.

The idea

A nice interface for running scripts on Hugging Face Spaces

Installation

For now, you can install from source:

git clone https://github.com/huggingface/fuego.git
cd fuego
pip install -e "."

WIP API

The Python API and CLI should have very similar experiences so folks can use whichever they prefer.

See the examples folder for more details.

Python

import fuego

fuego.run(
    script='run.py',
    requirements_file='requirements.txt',
    # Kwargs
    message='hello world',
)

CLI

fuego run --script run.py --requirements_file requirements.txt --message "hello world"