Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -158,7 +158,7 @@ async def setup():
|
|
158 |
except Exception as e:
|
159 |
logging.info(f"Error in setup: {e}")
|
160 |
|
161 |
-
if
|
162 |
try:
|
163 |
asyncio.run(setup())
|
164 |
except Exception as e:
|
|
|
158 |
except Exception as e:
|
159 |
logging.info(f"Error in setup: {e}")
|
160 |
|
161 |
+
if __name__ == "__main__":
|
162 |
try:
|
163 |
asyncio.run(setup())
|
164 |
except Exception as e:
|