Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ import time
|
|
6 |
from gradio_client import Client, handle_file
|
7 |
|
8 |
|
9 |
-
|
10 |
def main(url, parameters, progress=gr.Progress()):
|
11 |
try:
|
12 |
font_type, font_size, font_color, service, target, style, subject = parameters.split(',')
|
@@ -15,7 +14,7 @@ def main(url, parameters, progress=gr.Progress()):
|
|
15 |
|
16 |
# Transcription Stage
|
17 |
progress(0.35, desc="تبدیل صوت به متن")
|
18 |
-
yield "تبدیل
|
19 |
|
20 |
transcribe_client = Client("rayesh/transcribe")
|
21 |
try:
|
|
|
6 |
from gradio_client import Client, handle_file
|
7 |
|
8 |
|
|
|
9 |
def main(url, parameters, progress=gr.Progress()):
|
10 |
try:
|
11 |
font_type, font_size, font_color, service, target, style, subject = parameters.split(',')
|
|
|
14 |
|
15 |
# Transcription Stage
|
16 |
progress(0.35, desc="تبدیل صوت به متن")
|
17 |
+
yield "تبدیل صوت به متن", None
|
18 |
|
19 |
transcribe_client = Client("rayesh/transcribe")
|
20 |
try:
|