Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def transcribe(audio, state = ""):
|
|
120 |
state = state + transcriptions + " "
|
121 |
return state, state
|
122 |
|
123 |
-
|
124 |
fn=transcribe,
|
125 |
inputs=[
|
126 |
gr.Audio(source="microphone", type='filepath', streaming=True),
|
@@ -137,5 +137,4 @@ iface = gr.Interface(
|
|
137 |
allow_flagging='never',
|
138 |
live=True,
|
139 |
article=f"Result Output Saved to Memory💾 Dataset: [{DATASET_REPO_URL}]({DATASET_REPO_URL})"
|
140 |
-
)
|
141 |
-
iface.launch()
|
|
|
120 |
state = state + transcriptions + " "
|
121 |
return state, state
|
122 |
|
123 |
+
gr.Interface(
|
124 |
fn=transcribe,
|
125 |
inputs=[
|
126 |
gr.Audio(source="microphone", type='filepath', streaming=True),
|
|
|
137 |
allow_flagging='never',
|
138 |
live=True,
|
139 |
article=f"Result Output Saved to Memory💾 Dataset: [{DATASET_REPO_URL}]({DATASET_REPO_URL})"
|
140 |
+
).launch()
|
|