ddPn08 / Radiata

Stable diffusion webui based on diffusers.
https://ddpn08.github.io/Radiata/
Apache License 2.0
983 stars 68 forks source link

Please add simple command run ui #14

Closed camenduru closed 1 year ago

camenduru commented 1 year ago

some 🐳 docker providers don't have access to terminal like 🤗 hugging face if it is possible please add something like this then I can push compiled models to 🤗 hugging face like those https://huggingface.co/trrt

python -c "from huggingface_hub import create_repo, upload_folder; hf_token = 'token_here'; repo_id = 'trrt/copiled_tensorrt_engines'; upload_folder(folder_path='/content/copiled_tensorrt_engines', path_in_repo='', repo_id=repo_id, commit_message='content', token=hf_token)"
from subprocess import getoutput

def run(command):
    out = getoutput(f"{command}")
    return out

Screenshot 2023-02-07 051838

camenduru commented 1 year ago

I did something like this https://github.com/camenduru/Lsmith/tree/dev not good but working 😋