jspr commited on
Commit
c049bdf
1 Parent(s): f92a097

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -37,5 +37,11 @@ def get_drummer_output(prompt, openai_api_key):
37
  audio = np.array(audio.get_array_of_samples(), dtype=np.float32)
38
  return (96000, audio)
39
 
40
- iface = gr.Interface(fn=get_drummer_output, inputs=["text", "text"], outputs="audio")
 
 
 
 
 
 
41
  iface.launch()
 
37
  audio = np.array(audio.get_array_of_samples(), dtype=np.float32)
38
  return (96000, audio)
39
 
40
+ iface = gr.Interface(
41
+ fn=get_drummer_output,
42
+ inputs=["text", "text"],
43
+ outputs="audio",
44
+ title='Auto-drummer',
45
+ description='Stable Diffusion for drum beats. Type in a genre and some descriptors to the prompt box, enter your OpenAI API key, and get a drum beat in that genre'
46
+ )
47
  iface.launch()