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
|
||||
insert_final_newline = true
|
||||
|
||||
# Python
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
||||
[*.md]
|
||||
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 script_callbacks
|
||||
|
||||
|
||||
def on_ui_settings():
|
||||
section = ('lobe_theme', "Lobe Theme")
|
||||
|
||||
|
|
@ -19,4 +20,5 @@ def on_ui_settings():
|
|||
),
|
||||
)
|
||||
|
||||
|
||||
script_callbacks.on_ui_settings(on_ui_settings)
|
||||
|
|
|
|||
Loading…
Reference in New Issue