Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ try:
|
|
| 17 |
except Exception:
|
| 18 |
raise ImportError
|
| 19 |
except Exception:
|
| 20 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-cache-dir", "websockets==
|
| 21 |
importlib.invalidate_caches()
|
| 22 |
import websockets # type: ignore
|
| 23 |
import websockets.asyncio # should now exist
|
|
|
|
| 17 |
except Exception:
|
| 18 |
raise ImportError
|
| 19 |
except Exception:
|
| 20 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-cache-dir", "websockets==14.0"])
|
| 21 |
importlib.invalidate_caches()
|
| 22 |
import websockets # type: ignore
|
| 23 |
import websockets.asyncio # should now exist
|