Commit
·
bbae640
1
Parent(s):
22a74ca
update launch
Browse files
app.py
CHANGED
@@ -18,10 +18,13 @@ with llm_calc_app:
|
|
18 |
)
|
19 |
llm_calc_app.load()
|
20 |
|
21 |
-
# Ensure the app runs in an asyncio event loop
|
22 |
-
async def main():
|
23 |
-
|
24 |
-
|
25 |
|
26 |
# Run the async main function
|
27 |
-
asyncio.run(main())
|
|
|
|
|
|
|
|
18 |
)
|
19 |
llm_calc_app.load()
|
20 |
|
21 |
+
# # Ensure the app runs in an asyncio event loop
|
22 |
+
# async def main():
|
23 |
+
# llm_calc_app.queue()
|
24 |
+
# await llm_calc_app.launch()
|
25 |
|
26 |
# Run the async main function
|
27 |
+
# asyncio.run(main())
|
28 |
+
|
29 |
+
llm_calc_app.queue()
|
30 |
+
llm_calc_app.launch()
|