Spaces:
Runtime error
Runtime error
Commit ·
30ad0f5
1
Parent(s): fbcb979
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,3 +37,13 @@ def transcribe(audio,):
|
|
| 37 |
print("--------------------------")
|
| 38 |
print(f"Execution time: {end_time - start_time} seconds")
|
| 39 |
return transcription
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
print("--------------------------")
|
| 38 |
print(f"Execution time: {end_time - start_time} seconds")
|
| 39 |
return transcription
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
demo = gr.Interface(
|
| 44 |
+
transcribe,
|
| 45 |
+
gr.Audio(source="microphone"),
|
| 46 |
+
gr.Textbox(label="CLI_Transcription")
|
| 47 |
+
)
|
| 48 |
+
|
| 49 |
+
demo.launch()
|