Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def main(url, parameters, progress=gr.Progress()):
|
|
11 |
This function reports progress by yielding intermediate updates.
|
12 |
Gradio watches these yields to update the progress bar.
|
13 |
"""
|
14 |
-
font_type, font_size, font_color, service, target, style, subject =
|
15 |
# Assume parameters is a comma-separated string: "color,font"
|
16 |
progress(0, desc="پردازش شروع شد")
|
17 |
yield "پردازش شروع شد", None
|
|
|
11 |
This function reports progress by yielding intermediate updates.
|
12 |
Gradio watches these yields to update the progress bar.
|
13 |
"""
|
14 |
+
font_type, font_size, font_color, service, target, style, subject = parameters.split(',')
|
15 |
# Assume parameters is a comma-separated string: "color,font"
|
16 |
progress(0, desc="پردازش شروع شد")
|
17 |
yield "پردازش شروع شد", None
|