akhaliq HF staff commited on
Commit
fc22125
1 Parent(s): 4294921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks(css=css) as demo:
100
  Demo for <a href="https://huggingface.co/plasmo/vox2">Vox2</a> Stable Diffusion model.<br>
101
  Add the following tokens to your prompts for the model to work properly: <b></b>.
102
  </p>
103
- <p>This demo is currently on cpu, to use it, upgrade to gpu by going to settings after duplicating this space: <a style="display:inline-block" href="https://huggingface.co/spaces/akhaliq/vox2?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>
104
  Running on <b>{"GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"}</b>
105
  </div>
106
  """
@@ -144,21 +144,7 @@ with gr.Blocks(css=css) as demo:
144
  prompt.submit(inference, inputs=inputs, outputs=outputs)
145
  generate.click(inference, inputs=inputs, outputs=outputs)
146
 
147
- gr.HTML("""
148
- <div style="border-top: 1px solid #303030;">
149
- <br>
150
- <p>This space was created using <a href="https://huggingface.co/spaces/anzorq/sd-space-creator">SD Space Creator</a>.</p>
151
- </div>
152
- """)
153
-
154
- demo.queue(concurrency_count=1)
155
- demo.launch()
156
 
157
-
158
- Running on <b>{"GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"}</b>
159
- </div>
160
- """
161
- )
162
  with gr.Row():
163
 
164
  with gr.Column(scale=55):
 
100
  Demo for <a href="https://huggingface.co/plasmo/vox2">Vox2</a> Stable Diffusion model.<br>
101
  Add the following tokens to your prompts for the model to work properly: <b></b>.
102
  </p>
103
+ <p>This demo is currently on cpu, to use it, upgrade to gpu by going to settings after duplicating this space: <a style="display:inline-block" href="https://huggingface.co/spaces/akhaliq/vox2?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>
104
  Running on <b>{"GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"}</b>
105
  </div>
106
  """
 
144
  prompt.submit(inference, inputs=inputs, outputs=outputs)
145
  generate.click(inference, inputs=inputs, outputs=outputs)
146
 
 
 
 
 
 
 
 
 
 
147
 
 
 
 
 
 
148
  with gr.Row():
149
 
150
  with gr.Column(scale=55):