Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|