Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,4 +44,13 @@ description = """ pyannote speaker diarization running locally"""
|
|
| 44 |
|
| 45 |
article = """SAMLOne Speaker Segmentation or Diarization"""
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
|
|
|
| 44 |
|
| 45 |
article = """SAMLOne Speaker Segmentation or Diarization"""
|
| 46 |
|
| 47 |
+
import gradio as gr
|
| 48 |
+
|
| 49 |
+
def greet(name):
|
| 50 |
+
return "Hello " + name + "!!"
|
| 51 |
+
|
| 52 |
+
iface = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"), outputs="text")
|
| 53 |
+
iface.launch()
|
| 54 |
+
|
| 55 |
+
|
| 56 |
|