base file and editor config for python (4 indents space following python convention)
parent
f32afbc952
commit
0fe079e616
|
|
@ -9,6 +9,10 @@ charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Python
|
||||||
|
[*.py]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
class LobeApi:
|
||||||
|
def __init__(self, lobe_model_path):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def create_api_route(self, app):
|
||||||
|
pass
|
||||||
|
|
@ -5,6 +5,7 @@ import os
|
||||||
from modules import shared
|
from modules import shared
|
||||||
from modules import script_callbacks
|
from modules import script_callbacks
|
||||||
|
|
||||||
|
|
||||||
def on_ui_settings():
|
def on_ui_settings():
|
||||||
section = ('lobe_theme', "Lobe Theme")
|
section = ('lobe_theme', "Lobe Theme")
|
||||||
|
|
||||||
|
|
@ -19,4 +20,5 @@ def on_ui_settings():
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
script_callbacks.on_ui_settings(on_ui_settings)
|
script_callbacks.on_ui_settings(on_ui_settings)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue