Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -279,9 +279,14 @@ def run_tests():
|
|
279 |
|
280 |
asyncio.run(run_all_tests())
|
281 |
|
|
|
|
|
282 |
if __name__ == "__main__":
|
283 |
import sys
|
284 |
if len(sys.argv) > 1 and sys.argv[1] == "--test":
|
285 |
run_tests()
|
286 |
else:
|
287 |
-
asyncio.run(main())
|
|
|
|
|
|
|
|
279 |
|
280 |
asyncio.run(run_all_tests())
|
281 |
|
282 |
+
import asyncio
|
283 |
+
|
284 |
if __name__ == "__main__":
|
285 |
import sys
|
286 |
if len(sys.argv) > 1 and sys.argv[1] == "--test":
|
287 |
run_tests()
|
288 |
else:
|
289 |
+
asyncio.run(main())
|
290 |
+
interface = gradio_interface()
|
291 |
+
interface.queue()
|
292 |
+
interface.launch(share=True, server_port=7777)
|