anzorq commited on
Commit
72f5015
·
1 Parent(s): 0a34b96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -231,7 +231,7 @@ def on_submit(prompt_1, prompt_2, steps, num_iterations, feel, seed):
231
  if prompt_2 == "":
232
  return generate(prompt_1, steps, num_iterations, feel, seed), None, gr.update(visible=True)
233
  else:
234
- return generate_riffuse(prompt_1, steps, num_iterations, feel, prompt_end=prompt_2, seed_start=seed), None
235
 
236
 
237
  def on_num_iterations_change(n, prompt_2):
@@ -289,7 +289,7 @@ with gr.Blocks(css=css) as app:
289
  with gr.Column():
290
  video = gr.Video(elem_id="riff-video")
291
 
292
- with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
293
  community_icon = gr.HTML(community_icon_html, visible=False)
294
  loading_icon = gr.HTML(loading_icon_html, visible=False)
295
  share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
 
231
  if prompt_2 == "":
232
  return generate(prompt_1, steps, num_iterations, feel, seed), None, gr.update(visible=True)
233
  else:
234
+ return generate_riffuse(prompt_1, steps, num_iterations, feel, prompt_end=prompt_2, seed_start=seed), None, gr.update(visible=True)
235
 
236
 
237
  def on_num_iterations_change(n, prompt_2):
 
289
  with gr.Column():
290
  video = gr.Video(elem_id="riff-video")
291
 
292
+ with gr.Column(elem_id="share-btn-container", visible=False) as share_group:
293
  community_icon = gr.HTML(community_icon_html, visible=False)
294
  loading_icon = gr.HTML(loading_icon_html, visible=False)
295
  share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)