Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +9 -3
requirements.txt
CHANGED
@@ -1,11 +1,14 @@
|
|
1 |
-
# requirements.txt (Revised to include
|
2 |
|
3 |
# Telegram Bot Library
|
4 |
python-telegram-bot[httpx]>=20.0,<21.0
|
5 |
|
6 |
-
# Web Framework
|
7 |
Flask>=2.0
|
8 |
|
|
|
|
|
|
|
9 |
# HTTP Requests Library
|
10 |
requests
|
11 |
|
@@ -21,4 +24,7 @@ apify-client
|
|
21 |
# WSGI/ASGI Servers & Adapter
|
22 |
gunicorn
|
23 |
uvicorn[standard]
|
24 |
-
asgiref #
|
|
|
|
|
|
|
|
1 |
+
# requirements.txt (Revised to include starlette)
|
2 |
|
3 |
# Telegram Bot Library
|
4 |
python-telegram-bot[httpx]>=20.0,<21.0
|
5 |
|
6 |
+
# Web Framework (Core)
|
7 |
Flask>=2.0
|
8 |
|
9 |
+
# ASGI Framework (for Lifespan Management)
|
10 |
+
starlette # <<<--- ADD THIS LINE
|
11 |
+
|
12 |
# HTTP Requests Library
|
13 |
requests
|
14 |
|
|
|
24 |
# WSGI/ASGI Servers & Adapter
|
25 |
gunicorn
|
26 |
uvicorn[standard]
|
27 |
+
asgiref # Still needed by Starlette's WSGIMiddleware or internally
|
28 |
+
|
29 |
+
# HTML Parsing Util
|
30 |
+
# (Ensure html is available if used, usually built-in)
|