Spaces:
Runtime error
Runtime error
Commit
·
151e68e
1
Parent(s):
2b4f358
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
from cProfile import label
|
| 2 |
import gradio as gr
|
| 3 |
from fastai.vision.all import *
|
| 4 |
from fastai.vision.all import *
|
|
@@ -34,5 +33,5 @@ def catvsdogsoundclassification(audio_file):
|
|
| 34 |
|
| 35 |
# audio_file = gr.inputs.Audio()
|
| 36 |
labeel = gr.outputs.Label()
|
| 37 |
-
intf = gr.Interface(fn=catvsdogsoundclassification,inputs=gr.
|
| 38 |
intf.launch(inline=False,debug=True)
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
from fastai.vision.all import *
|
|
|
|
| 33 |
|
| 34 |
# audio_file = gr.inputs.Audio()
|
| 35 |
labeel = gr.outputs.Label()
|
| 36 |
+
intf = gr.Interface(fn=catvsdogsoundclassification,inputs=gr.File(),outputs=labeel)
|
| 37 |
intf.launch(inline=False,debug=True)
|