Spaces:
Sleeping
Sleeping
dlaiu
commited on
Commit
·
a8122f8
1
Parent(s):
be3a34b
testing converting into a string
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ def get_pitch(audio_file):
|
|
12 |
sound = parselmouth.Sound(audio_file)
|
13 |
pitch = call(sound, "To Pitch", 0.0, 75, 500)
|
14 |
pitch_values = pitch.selected_array['frequency']
|
15 |
-
|
|
|
16 |
|
17 |
demo = gr.Interface(fn=get_pitch, inputs="audio", outputs="text")
|
18 |
demo.launch()
|
|
|
12 |
sound = parselmouth.Sound(audio_file)
|
13 |
pitch = call(sound, "To Pitch", 0.0, 75, 500)
|
14 |
pitch_values = pitch.selected_array['frequency']
|
15 |
+
text = print(pitch_values)
|
16 |
+
return text
|
17 |
|
18 |
demo = gr.Interface(fn=get_pitch, inputs="audio", outputs="text")
|
19 |
demo.launch()
|