mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -2,6 +2,7 @@ import cuda_malloc
|
|||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
import random
|
import random
|
||||||
|
import fooocus_version
|
||||||
|
|
||||||
from modules.sdxl_styles import apply_style, style_keys, aspect_ratios
|
from modules.sdxl_styles import apply_style, style_keys, aspect_ratios
|
||||||
from modules.default_pipeline import process
|
from modules.default_pipeline import process
|
||||||
@@ -42,7 +43,7 @@ def generate_clicked(prompt, negative_prompt, style_selction, performance_selcti
|
|||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
block = gr.Blocks(title='Fooocus').queue()
|
block = gr.Blocks(title='Fooocus ' + fooocus_version.version).queue()
|
||||||
with block:
|
with block:
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
|
|||||||
Reference in New Issue
Block a user