patrickvonplaten commited on
Commit
af84fa1
1 Parent(s): 1f691b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -203,7 +203,7 @@ def replace_nsfw_images(results):
203
 
204
  with gr.Blocks(css="style.css") as demo:
205
  gr.HTML(
206
- """
207
  <div class="finetuned-diffusion-div">
208
  <div>
209
  <h1>Protogen Diffusion</h1>
@@ -211,6 +211,9 @@ with gr.Blocks(css="style.css") as demo:
211
  <p>
212
  Demo for multiple fine-tuned Protogen Stable Diffusion models.
213
  </p>
 
 
 
214
  <p>You can also duplicate this space and upgrade to gpu by going to settings:<br>
215
  <a style="display:inline-block" href="https://huggingface.co/spaces/patrickvonplaten/finetuned_diffusion?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></p>
216
  </div>
 
203
 
204
  with gr.Blocks(css="style.css") as demo:
205
  gr.HTML(
206
+ f"""
207
  <div class="finetuned-diffusion-div">
208
  <div>
209
  <h1>Protogen Diffusion</h1>
 
211
  <p>
212
  Demo for multiple fine-tuned Protogen Stable Diffusion models.
213
  </p>
214
+ <p>
215
+ Running on <b>{device}</b>
216
+ </p>
217
  <p>You can also duplicate this space and upgrade to gpu by going to settings:<br>
218
  <a style="display:inline-block" href="https://huggingface.co/spaces/patrickvonplaten/finetuned_diffusion?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></p>
219
  </div>