aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extensions.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix: `error: Your local changes to the following files would be overwritten ↵Mrau Hu2022-11-121-2/+5
| | | | | | | | | | 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.
* make existing script loading and new preload code use same code for loading ↵AUTOMATIC2022-11-121-21/+0
| | | | | | modules limit extension preload scripts to just one file named preload.py
* Add option to preload extensionsd8ahazard2022-11-081-1/+22
| | | | 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.
* do not die when an extension's repo has no remoteAUTOMATIC2022-11-051-2/+5
|
* fix scripts I broke with the extension tab changesAUTOMATIC2022-10-311-1/+1
|
* add initial version of the extensions tabAUTOMATIC2022-10-311-0/+83
fix broken Restart Gradio button