AlekseyCalvin commited on
Commit
8595bb7
1 Parent(s): 9e30785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from PIL import Image
5
 
6
  model_id = 'AlekseyCalvin/Make_Putin_Queer_Please'
7
- prefix = ''trp' or 'trp person''
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
@@ -76,11 +76,11 @@ with gr.Blocks(css=css) as demo:
76
  f"""
77
  <div class="main-div">
78
  <div>
79
- <h1>Make Putin Queer, Please! Use "trp person" in prompts.</h1>
80
  </div>
81
  <p>
82
  A gradio interface for <a href="https://huggingface.co/AlekseyCalvin/Make_Putin_Queer_Please">Make Putin Queer Please</a> Stable Diffusion model.<br>
83
- {"Add the following tokens to your prompts for the model to work properly: <b>prefix</b>" if prefix else ""}
84
  </p>
85
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/AlekseyCalvin/Make_Putin_Queer_Please-use-trp-token/settings'>Settings</a></b>"} after duplicating the space<br><br>
86
  <a style="display:inline-block" href="https://huggingface.co/spaces/AlekseyCalvin/Make_Putin_Queer_Please-use-trp-token?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
 
4
  from PIL import Image
5
 
6
  model_id = 'AlekseyCalvin/Make_Putin_Queer_Please'
7
+ prefix = 'trp' or 'trp person''
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
 
76
  f"""
77
  <div class="main-div">
78
  <div>
79
+ <h1>Make Putin Queer, Please! Use trp person in prompts.</h1>
80
  </div>
81
  <p>
82
  A gradio interface for <a href="https://huggingface.co/AlekseyCalvin/Make_Putin_Queer_Please">Make Putin Queer Please</a> Stable Diffusion model.<br>
83
+ {"Add the following tokens to your prompts for the model to work properly: <b>'trp'</b> if prefix else" }
84
  </p>
85
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/AlekseyCalvin/Make_Putin_Queer_Please-use-trp-token/settings'>Settings</a></b>"} after duplicating the space<br><br>
86
  <a style="display:inline-block" href="https://huggingface.co/spaces/AlekseyCalvin/Make_Putin_Queer_Please-use-trp-token?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>