Spaces:
Runtime error
Runtime error
product2204
commited on
Commit
•
890280a
1
Parent(s):
c267bd8
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def transcribe_audio(audio_path):
|
|
53 |
|
54 |
# STEP 3: Call the analyze_text method with the text payload and options
|
55 |
|
56 |
-
|
57 |
print("")
|
58 |
transcripts = response['results']['channels'][0]['alternatives'][0]['transcript']
|
59 |
|
@@ -77,4 +77,4 @@ iface = gr.Interface(
|
|
77 |
)
|
78 |
|
79 |
if __name__ == "__main__":
|
80 |
-
iface.launch()
|
|
|
53 |
|
54 |
# STEP 3: Call the analyze_text method with the text payload and options
|
55 |
|
56 |
+
print(response.to_json(indent=4))
|
57 |
print("")
|
58 |
transcripts = response['results']['channels'][0]['alternatives'][0]['transcript']
|
59 |
|
|
|
77 |
)
|
78 |
|
79 |
if __name__ == "__main__":
|
80 |
+
iface.launch(debug=True)
|