HridayKharpude commited on
Commit
4c453b6
โ€ข
1 Parent(s): d693783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def predict_audio(Audio_Input):
52
  taals = ['addhatrital','bhajani','dadra','deepchandi','ektal','jhaptal','rupak','trital']
53
  pred = model.predict(X_predict).flatten()
54
  print('exit1')
55
- return {taals[i]: float(pred[i]) for i in range(7)},audio
56
 
57
  audio = gr.inputs.Audio(source="upload", optional=False)
58
  label = gr.outputs.Label()
 
52
  taals = ['addhatrital','bhajani','dadra','deepchandi','ektal','jhaptal','rupak','trital']
53
  pred = model.predict(X_predict).flatten()
54
  print('exit1')
55
+ return {taals[i]: float(pred[i]) for i in range(8)},audio
56
 
57
  audio = gr.inputs.Audio(source="upload", optional=False)
58
  label = gr.outputs.Label()