linoyts HF staff commited on
Commit
53217a2
1 Parent(s): 155975c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -186,6 +186,12 @@ Demo for the method introduced in:
186
  </p>
187
  <p style="font-size:larger">
188
 
 
 
 
 
 
 
189
  """
190
 
191
  help = """
@@ -200,11 +206,7 @@ For example, use the music version for music and the large version for general a
200
  You can additionally provide a source prompt to guide even further the editing process.
201
  </p>
202
  <p style="font-size:larger">Longer input will take more time.</p>
203
- <p style="font-size: 0.9rem; margin: 0rem; line-height: 1.2em; margin-top:1em">
204
- For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
205
- <a href="https://huggingface.co/spaces/hilamanor/audioEditing?duplicate=true">
206
- <img style="margin-top: 0em; margin-bottom: 0em; display:inline" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" ></a>
207
- </p>
208
  """
209
 
210
  with gr.Blocks(css='style.css') as demo:
@@ -259,7 +261,8 @@ with gr.Blocks(css='style.css') as demo:
259
  randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
260
  length = gr.Number(label="Length", interactive=False, visible=False)
261
 
262
-
 
263
 
264
  submit.click(
265
  fn=randomize_seed_fn,
 
186
  </p>
187
  <p style="font-size:larger">
188
 
189
+ <p style="font-size: 0.9rem; margin: 0rem; line-height: 1.2em; margin-top:1em">
190
+ For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
191
+ <a href="https://huggingface.co/spaces/hilamanor/audioEditing?duplicate=true">
192
+ <img style="margin-top: 0em; margin-bottom: 0em; display:inline" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" ></a>
193
+ </p>
194
+
195
  """
196
 
197
  help = """
 
206
  You can additionally provide a source prompt to guide even further the editing process.
207
  </p>
208
  <p style="font-size:larger">Longer input will take more time.</p>
209
+
 
 
 
 
210
  """
211
 
212
  with gr.Blocks(css='style.css') as demo:
 
261
  randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
262
  length = gr.Number(label="Length", interactive=False, visible=False)
263
 
264
+ with gr.Accordion("Help💡", open=False):
265
+ gr.HTML(help)
266
 
267
  submit.click(
268
  fn=randomize_seed_fn,