fffiloni commited on
Commit
48daa96
1 Parent(s): 63dba30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -1
app.py CHANGED
@@ -214,6 +214,28 @@ div#warning-duplicate .actions a {
214
  display: inline-block;
215
  margin-right: 10px;
216
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  div#warning-ready {
218
  background-color: #ecfdf5;
219
  padding: 0 16px 16px;
@@ -240,7 +262,7 @@ with gr.Blocks(css=css) as demo:
240
  Attention: this Space need to be duplicated to work</h2>
241
  <p class="main-message custom-color">
242
  To make it work, <strong>duplicate the Space</strong> and run it on your own profile using a <strong>private</strong> GPU (A10G-large recommended).<br />
243
- A A10G-large costs <strong>US$1.50/h</strong>.
244
  </p>
245
  <p class="actions custom-color">
246
  <a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true">
 
214
  display: inline-block;
215
  margin-right: 10px;
216
  }
217
+ div#warning-setgpu {
218
+ background-color: #fff4eb;
219
+ padding: 0 16px 16px;
220
+ margin: 20px 0;
221
+ color: #030303!important;
222
+ }
223
+ div#warning-setgpu > .gr-prose > h2, div#warning-setgpu > .gr-prose > p {
224
+ color: #92220f!important;
225
+ }
226
+ div#warning-setgpu a, div#warning-setgpu b {
227
+ color: #91230f;
228
+ }
229
+ div#warning-setgpu p.actions > a {
230
+ display: inline-block;
231
+ background: #1f1f23;
232
+ border-radius: 40px;
233
+ padding: 6px 24px;
234
+ color: antiquewhite;
235
+ text-decoration: none;
236
+ font-weight: 600;
237
+ font-size: 1.2em;
238
+ }
239
  div#warning-ready {
240
  background-color: #ecfdf5;
241
  padding: 0 16px 16px;
 
262
  Attention: this Space need to be duplicated to work</h2>
263
  <p class="main-message custom-color">
264
  To make it work, <strong>duplicate the Space</strong> and run it on your own profile using a <strong>private</strong> GPU (A10G-large recommended).<br />
265
+ A A10G-large costs <strong>US$1.50/h</strong>. You'll also need to set your own secret hf_token to access gated stabilityai/stable-video-diffusion-img2vid-xt-1-1 repo.
266
  </p>
267
  <p class="actions custom-color">
268
  <a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true">