Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -293,5 +293,8 @@ def main():
|
|
293 |
|
294 |
submit.click(process_images, inputs=[image_files, model_repo, general_thresh, character_thresh, filter_tags, replacement_rules_text], outputs=output)
|
295 |
|
296 |
-
demo.queue(max_size=10)
|
297 |
-
demo.launch()
|
|
|
|
|
|
|
|
293 |
|
294 |
submit.click(process_images, inputs=[image_files, model_repo, general_thresh, character_thresh, filter_tags, replacement_rules_text], outputs=output)
|
295 |
|
296 |
+
demo.queue(max_size=10)
|
297 |
+
demo.launch()
|
298 |
+
|
299 |
+
if __name__ == "__main__":
|
300 |
+
main()
|