fantos commited on
Commit
4738ce5
·
verified ·
1 Parent(s): 2ea8eea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -16,7 +16,7 @@ if not os.path.exists(SAVE_DIR):
16
 
17
  device = "cuda" if torch.cuda.is_available() else "cpu"
18
  repo_id = "black-forest-labs/FLUX.1-dev"
19
- adapter_id = "openfree/pierre-auguste-renoir" # Changed to Renoir model
20
 
21
  pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
22
  pipeline.load_lora_weights(adapter_id)
@@ -161,17 +161,7 @@ with gr.Blocks(css=custom_css, analytics_enabled=False) as demo:
161
 
162
  # Model description with the requested content
163
  with gr.Group(elem_classes="model-description"):
164
- gr.Markdown("""
165
- # About This Model
166
-
167
- This studio features the **Pierre-Auguste Renoir** artistic style model from [openfree/pierre-auguste-renoir](https://huggingface.co/openfree/pierre-auguste-renoir).
168
-
169
- Pierre-Auguste Renoir (1841-1919) was a leading painter in the development of the Impressionist style. His paintings are notable for their vibrant light and saturated color, focusing on people in intimate and candid compositions. The warmth of his palette often emphasized the sensual beauty of his subjects, particularly women.
170
-
171
- I developed a flux-based learning model trained on a curated collection of high-resolution masterpieces from renowned global artists. This LoRA fine-tuning process leveraged the exceptional quality of open-access imagery released by prestigious institutions including the Art Institute of Chicago. The resulting model demonstrates remarkable capability in capturing the nuanced artistic techniques and stylistic elements across diverse historical art movements.
172
-
173
- **How to use**: Simply enter a prompt describing a scene in Renoir's style and add [trigger] at the end.
174
- """)
175
 
176
  with gr.Tabs(elem_classes="tabs") as tabs:
177
  with gr.Tab("Generation"):
 
16
 
17
  device = "cuda" if torch.cuda.is_available() else "cpu"
18
  repo_id = "black-forest-labs/FLUX.1-dev"
19
+ adapter_id = "openfree/paul-cezanne" # Changed to Renoir model
20
 
21
  pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
22
  pipeline.load_lora_weights(adapter_id)
 
161
 
162
  # Model description with the requested content
163
  with gr.Group(elem_classes="model-description"):
164
+
 
 
 
 
 
 
 
 
 
 
165
 
166
  with gr.Tabs(elem_classes="tabs") as tabs:
167
  with gr.Tab("Generation"):