aboutsummaryrefslogtreecommitdiff
path: root/modules/extensions.py
AgeCommit message (Collapse)Author
2022-11-12Fix: `error: Your local changes to the following files would be overwritten ↵Mrau Hu
by merge` when run `pull()` method, because WSL2 Docker set 755 file permissions instead of 644, this results to the error. Updated `Extension` class: replaced `pull()` with `fetch_and_reset_hard()` method. Updated `apply_and_restart()` function: replaced `ext.pull()` with `ext.fetch_and_reset_hard()` function.
2022-11-12make existing script loading and new preload code use same code for loading ↵AUTOMATIC
modules limit extension preload scripts to just one file named preload.py
2022-11-08Add option to preload extensionsd8ahazard
By creating a file called "preload.py" in an extension folder and declaring a preload(parser) method, we can add extra command-line args for an extension.
2022-11-05do not die when an extension's repo has no remoteAUTOMATIC
2022-10-31fix scripts I broke with the extension tab changesAUTOMATIC
2022-10-31add initial version of the extensions tabAUTOMATIC
fix broken Restart Gradio button