Spaces:
Runtime error
Runtime error
change of queue parameter
Browse files
app.py
CHANGED
@@ -108,9 +108,6 @@ article_text = markdown.markdown('''
|
|
108 |
<p>Part of a dissertation project. Author: <a href="https://github.com/ttheland">ttheland</a></p>
|
109 |
''')
|
110 |
|
111 |
-
# enable queue
|
112 |
-
enable_queue = True
|
113 |
-
|
114 |
iface = gr.Interface(
|
115 |
do_inference,
|
116 |
im,
|
@@ -121,11 +118,9 @@ iface = gr.Interface(
|
|
121 |
description=description,
|
122 |
article= article_text,
|
123 |
examples=examples,
|
124 |
-
enable_queue=enable_queue,
|
125 |
theme="dark-peach"
|
126 |
-
|
127 |
)
|
128 |
|
129 |
iface.test_launch()
|
130 |
|
131 |
-
iface.launch(share=True)
|
|
|
108 |
<p>Part of a dissertation project. Author: <a href="https://github.com/ttheland">ttheland</a></p>
|
109 |
''')
|
110 |
|
|
|
|
|
|
|
111 |
iface = gr.Interface(
|
112 |
do_inference,
|
113 |
im,
|
|
|
118 |
description=description,
|
119 |
article= article_text,
|
120 |
examples=examples,
|
|
|
121 |
theme="dark-peach"
|
|
|
122 |
)
|
123 |
|
124 |
iface.test_launch()
|
125 |
|
126 |
+
iface.launch(share=True, enable_queue=True)
|