SPACERUNNER99 commited on
Commit
193897b
·
verified ·
1 Parent(s): 46b092a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = params_string.split(',')
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