AlekseyCalvin commited on
Commit
00b10d5
·
verified ·
1 Parent(s): 5479c7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -155,17 +155,17 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
155
  )
156
  # Info blob stating what the app is running
157
  info_blob = gr.HTML(
158
- """<div id="info_blob"> Hosted Gallery of Custom-Trained Text to Image Generative Low-Rank Adaptors (LoRAs) for FLUX models, Running On: ArtsyLite base model variant of FLUX. At the top of the gallery are adapters fine-tuned for the use of RCA (Revolutionary Communists of America at [https://CommunistUSA.org/]), its members, supporters, & allies alike. Below them are adapters trained on the works of early Soviet Avant-Garde, Dadaist, SOTS, Surrealist, & other radical artist styles, alongside our original conceptions & fusions. Further below still are identity models of notable revolutionaries and poets. We hope these adapters may get used by internationalists, anti-Imperialists, and simply by liberated persons anywhere & everywhere, & may even most minutely contribute to the liberation of others & of all. </div>"""
159
  )
160
 
161
  # Info blob stating what the app is running
162
  info_blob = gr.HTML(
163
- """<div id="info_blob"> To reinforce/focus in selected fine-tuned LoRAs (Low-Rank Adapters), add special “trigger" words/phrases to your prompts. These activator words/phrases will appear once you click on an adapter square. Copy/Paste them into your prompt. </div>"""
164
  )
165
  selected_index = gr.State(None)
166
  with gr.Row():
167
  with gr.Column(scale=3):
168
- prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Select LoRa/Style & type prompt!")
169
  with gr.Column(scale=1, elem_id="gen_column"):
170
  generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
171
  with gr.Row():
 
155
  )
156
  # Info blob stating what the app is running
157
  info_blob = gr.HTML(
158
+ """<div id="info_blob"> Hosted Gallery of Custom-Trained Text2Image Generative Low-Rank Adaptors (LoRAs) for FLUX models. Running On: ArtsyLite FLUX base variant. First 4 gallery rows are adapters fine-tuned for the use of RCA (Revolutionary Communists of America at [https://CommunistUSA.org/]), & other activists/artists. Below them are adapters trained on works of Soviet Avant-Garde, Dada, Surrealism, & other radical styles + some original conceptions/fusions. Under those are identity models of notable revolutionaries & poets. Click squares to switch adapters & see links to their pages, many of them offering more info/resources. </div>"""
159
  )
160
 
161
  # Info blob stating what the app is running
162
  info_blob = gr.HTML(
163
+ """<div id="info_blob"> To reinforce/focus a selected adapter style, add its pre-encoded “trigger" word/phrase to your prompt. Corresponding activator info &/or prompt template appears once an adapter square is clicked. Copy/Paste these into prompt box as a starting point. </div>"""
164
  )
165
  selected_index = gr.State(None)
166
  with gr.Row():
167
  with gr.Column(scale=3):
168
+ prompt = gr.Textbox(label="Prompt", lines=2, placeholder="Select LoRa/Style & type prompt!")
169
  with gr.Column(scale=1, elem_id="gen_column"):
170
  generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
171
  with gr.Row():