feng2022 commited on
Commit
2333681
1 Parent(s): 6c441ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,11 +27,11 @@ TOKEN = "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"
27
 
28
  def main():
29
  def __init__():
30
- gr.Interface(
31
  title=TITLE,
32
  description=DESCRIPTION,
33
  article=ARTICLE,
34
- )
35
 
36
  if __name__ == '__main__':
37
  main()
 
27
 
28
  def main():
29
  def __init__():
30
+ gr.Interface(fn=run,
31
  title=TITLE,
32
  description=DESCRIPTION,
33
  article=ARTICLE,
34
+ ).launch(enable_queue=True)
35
 
36
  if __name__ == '__main__':
37
  main()