Spaces:
Sleeping
Sleeping
Riley Claude commited on
Commit ·
dec3c94
1
Parent(s): 4fe4fba
chore: Remove websocket dependencies - not used in current version
Browse filesRemoved:
- websocket-client from requirements.txt
- websocket import and HAS_WEBSOCKET check from demo_app.py
The WebSocket streaming UI was already removed, so these dependencies
are no longer needed. Keeping requirements minimal and matching the
working pre-merge version.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- requirements.txt +0 -1
- src/analyzer/chat/demo_app.py +0 -6
requirements.txt
CHANGED
|
@@ -28,7 +28,6 @@ fastapi>=0.100
|
|
| 28 |
uvicorn>=0.24
|
| 29 |
pydantic>=2.0,<2.12
|
| 30 |
pydantic-settings>=2.4
|
| 31 |
-
websocket-client>=1.6
|
| 32 |
gradio>=5.0
|
| 33 |
|
| 34 |
# Database
|
|
|
|
| 28 |
uvicorn>=0.24
|
| 29 |
pydantic>=2.0,<2.12
|
| 30 |
pydantic-settings>=2.4
|
|
|
|
| 31 |
gradio>=5.0
|
| 32 |
|
| 33 |
# Database
|
src/analyzer/chat/demo_app.py
CHANGED
|
@@ -29,12 +29,6 @@ except ImportError:
|
|
| 29 |
print("ERROR: httpx not installed. Install with: pip install httpx")
|
| 30 |
httpx = None
|
| 31 |
|
| 32 |
-
try:
|
| 33 |
-
import websocket
|
| 34 |
-
HAS_WEBSOCKET = True
|
| 35 |
-
except ImportError:
|
| 36 |
-
HAS_WEBSOCKET = False
|
| 37 |
-
logging.warning("websocket-client not installed. Install with: pip install websocket-client")
|
| 38 |
|
| 39 |
from ..config import load_config
|
| 40 |
from ..data_loader import load_current_grants, load_past_winners
|
|
|
|
| 29 |
print("ERROR: httpx not installed. Install with: pip install httpx")
|
| 30 |
httpx = None
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
from ..config import load_config
|
| 34 |
from ..data_loader import load_current_grants, load_past_winners
|