Commit
·
31833d7
1
Parent(s):
4d35d5f
webui.py
CHANGED
|
@@ -2,6 +2,7 @@ import cuda_malloc
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import random
|
|
|
|
| 5 |
|
| 6 |
from modules.sdxl_styles import apply_style, style_keys, aspect_ratios
|
| 7 |
from modules.default_pipeline import process
|
|
@@ -42,7 +43,7 @@ def generate_clicked(prompt, negative_prompt, style_selction, performance_selcti
|
|
| 42 |
return results
|
| 43 |
|
| 44 |
|
| 45 |
-
block = gr.Blocks(title='Fooocus').queue()
|
| 46 |
with block:
|
| 47 |
with gr.Row():
|
| 48 |
with gr.Column():
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import random
|
| 5 |
+
import fooocus_version
|
| 6 |
|
| 7 |
from modules.sdxl_styles import apply_style, style_keys, aspect_ratios
|
| 8 |
from modules.default_pipeline import process
|
|
|
|
| 43 |
return results
|
| 44 |
|
| 45 |
|
| 46 |
+
block = gr.Blocks(title='Fooocus ' + fooocus_version.version).queue()
|
| 47 |
with block:
|
| 48 |
with gr.Row():
|
| 49 |
with gr.Column():
|