Spaces:
Sleeping
Sleeping
Commit
·
c5a7581
1
Parent(s):
c14e7f9
Update Gradio/app.py
Browse files- Gradio/app.py +3 -3
Gradio/app.py
CHANGED
@@ -48,13 +48,13 @@ article = "<p style='text-align: center'><a href='https://dagshub.com/kingabzpro
|
|
48 |
examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
|
49 |
|
50 |
|
51 |
-
Input = gr.
|
52 |
source="microphone",
|
53 |
type="filepath",
|
54 |
label="Please Record Your Voice",
|
55 |
)
|
56 |
-
Output = gr.
|
57 |
-
|
58 |
|
59 |
def main():
|
60 |
iface = gr.Interface(
|
|
|
48 |
examples = [["Sample/sample1.mp3"], ["Sample/sample2.mp3"], ["Sample/sample3.mp3"]]
|
49 |
|
50 |
|
51 |
+
Input = gr.Audio(
|
52 |
source="microphone",
|
53 |
type="filepath",
|
54 |
label="Please Record Your Voice",
|
55 |
)
|
56 |
+
Output = gr.Textbox(label="Urdu Script")
|
57 |
+
|
58 |
|
59 |
def main():
|
60 |
iface = gr.Interface(
|