import gradio as gr from convert import convert DESCRIPTION = """ 🔥🔥🔥 Tested ON:
The steps are the following: - Paste a read-access token from hf.co/settings/tokens. Read access is enough given that we will open a PR against the source repo. - Input a model id from the Hub - Input the filename from the root dir of the repo that you would like to convert, e.g. 'xl-pruned.safetensors' - Click "Submit" - That's it! You'll get feedback if it works or not, and if it worked, you'll get the URL of the opened PR 🔥 ⚠️ If you encounter weird error messages, please have a look into the Logs and feel free to open a PR to correct the error messages.