Spaces:
Runtime error
Runtime error
HridayKharpude
commited on
Commit
โข
4c453b6
1
Parent(s):
d693783
Update app.py
Browse files
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(
|
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()
|