aksj commited on
Commit
2a6b47b
·
1 Parent(s): feffd25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,11 +37,11 @@ def find_closest_mp3(query):
37
  return file_name_without_extension + '.mp3'
38
  my_theme = gr.Theme.from_hub("ysharma/llamas")
39
  with gr.Blocks(theme=my_theme) as demo:
40
- gr.Markdown("""<h3 style="text-align: center;">BeatLlama Dreambooth</h3>""")
41
  # video=gr.PlayableVideo("final_video.mp4")
42
  inp=gr.Textbox(placeholder="Describe your dream!",label="Your dream")
43
  out=gr.Audio(label="Llamas singing your dream")
44
  inp.change(find_closest_mp3,inp,out,scroll_to_output=True)
45
  out.play(None)
46
  demo.queue(1)
47
- demo.launch(show_api=False,debug=True)
 
37
  return file_name_without_extension + '.mp3'
38
  my_theme = gr.Theme.from_hub("ysharma/llamas")
39
  with gr.Blocks(theme=my_theme) as demo:
40
+ gr.Markdown("""<h1 style="text-align: center;">BeatLlama Dreambooth</h1>""")
41
  # video=gr.PlayableVideo("final_video.mp4")
42
  inp=gr.Textbox(placeholder="Describe your dream!",label="Your dream")
43
  out=gr.Audio(label="Llamas singing your dream")
44
  inp.change(find_closest_mp3,inp,out,scroll_to_output=True)
45
  out.play(None)
46
  demo.queue(1)
47
+ demo.launch(show_api=False)