revert things to master
This commit is contained in:
parent
509fd1459b
commit
df6a7ebfe8
3 changed files with 2 additions and 8 deletions
|
@ -220,7 +220,7 @@ def tests(argv):
|
||||||
def start_webui():
|
def start_webui():
|
||||||
print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
|
print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
|
||||||
import webui
|
import webui
|
||||||
webui.webui_or_api()
|
webui.webui()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -117,8 +117,6 @@ class Api:
|
||||||
|
|
||||||
return ImageToImageResponse(images=b64images, parameters=vars(img2imgreq), info=processed.js())
|
return ImageToImageResponse(images=b64images, parameters=vars(img2imgreq), info=processed.js())
|
||||||
|
|
||||||
def extrasapi(self):
|
|
||||||
raise NotImplementedError
|
|
||||||
def extras_single_image_api(self, req: ExtrasSingleImageRequest):
|
def extras_single_image_api(self, req: ExtrasSingleImageRequest):
|
||||||
reqDict = setUpscalers(req)
|
reqDict = setUpscalers(req)
|
||||||
|
|
||||||
|
|
|
@ -64,11 +64,7 @@ class PydanticModelGenerator:
|
||||||
|
|
||||||
|
|
||||||
self._model_name = model_name
|
self._model_name = model_name
|
||||||
|
self._class_data = merge_class_params(class_instance)
|
||||||
if class_instance is not None:
|
|
||||||
self._class_data = merge_class_params(class_instance)
|
|
||||||
else:
|
|
||||||
self._class_data = {}
|
|
||||||
|
|
||||||
self._model_def = [
|
self._model_def = [
|
||||||
ModelDef(
|
ModelDef(
|
||||||
|
|
Loading…
Reference in a new issue