Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,10 @@ def speech_to_text(audio_sample):
|
|
37 |
#text = audio_sample["text"].lower()
|
38 |
#print(text)
|
39 |
#speech_data = audio_sample["audio"]["array"]
|
|
|
40 |
print(audio_sample)
|
|
|
|
|
41 |
output = diffuser_pipeline(audio_sample)
|
42 |
|
43 |
return output.images[0]
|
|
|
37 |
#text = audio_sample["text"].lower()
|
38 |
#print(text)
|
39 |
#speech_data = audio_sample["audio"]["array"]
|
40 |
+
print("ββββββββ")
|
41 |
print(audio_sample)
|
42 |
+
print(audio_sample["audio"]["array"])
|
43 |
+
print("ββββββββ")
|
44 |
output = diffuser_pipeline(audio_sample)
|
45 |
|
46 |
return output.images[0]
|