syedmudassir16 commited on
Commit
f77eb2a
·
verified ·
1 Parent(s): 417c2ca
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -224,7 +224,7 @@ def generate(audio, history, temperature=0.1, max_new_tokens=2048, top_p=0.8, re
224
 
225
  demo = gr.Interface(
226
  fn=generate,
227
- inputs=[gr.Audio(source="microphone", type="filepath"), gr.State()],
228
  outputs=["text", "state"],
229
  title="Mood-Based Music Recommender",
230
  description="Hi! I'm your mood analyser. Speak into the microphone to tell me how you're feeling or what type of music you'd like!"
 
224
 
225
  demo = gr.Interface(
226
  fn=generate,
227
+ inputs=[gr.Audio(sources="microphone", type="filepath"), gr.State()],
228
  outputs=["text", "state"],
229
  title="Mood-Based Music Recommender",
230
  description="Hi! I'm your mood analyser. Speak into the microphone to tell me how you're feeling or what type of music you'd like!"