Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
from diffusion_webui.helpers import (
|
|
|
4 |
StableDiffusionControlInpaintNetDepthGenerator,
|
5 |
StableDiffusionControlNetCannyGenerator,
|
6 |
StableDiffusionControlNetDepthGenerator,
|
@@ -62,10 +63,12 @@ def main():
|
|
62 |
StableDiffusionControlNetInpaintScribbleGenerator.app()
|
63 |
with gr.Tab("Seg"):
|
64 |
StableDiffusionControlNetInpaintSegGenerator.app()
|
65 |
-
|
|
|
|
|
66 |
app.queue(concurrency_count=2)
|
67 |
app.launch(debug=True, enable_queue=True)
|
68 |
|
69 |
|
70 |
if __name__ == "__main__":
|
71 |
-
main()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
from diffusion_webui.helpers import (
|
4 |
+
CodeformerUpscalerGenerator,
|
5 |
StableDiffusionControlInpaintNetDepthGenerator,
|
6 |
StableDiffusionControlNetCannyGenerator,
|
7 |
StableDiffusionControlNetDepthGenerator,
|
|
|
63 |
StableDiffusionControlNetInpaintScribbleGenerator.app()
|
64 |
with gr.Tab("Seg"):
|
65 |
StableDiffusionControlNetInpaintSegGenerator.app()
|
66 |
+
with gr.Tab("Upscaler"):
|
67 |
+
CodeformerUpscalerGenerator.app()
|
68 |
+
|
69 |
app.queue(concurrency_count=2)
|
70 |
app.launch(debug=True, enable_queue=True)
|
71 |
|
72 |
|
73 |
if __name__ == "__main__":
|
74 |
+
main()
|