Peter Michael Gits Claude commited on
Commit
8884a5c
Β·
1 Parent(s): 4a0bb42

debug: Add hello world test for HF Spaces restart cycle investigation

Browse files

- Ultra-minimal hello_world.py with basic streamlit output
- Strip requirements.txt to just 'streamlit'
- Change app_file to hello_world.py in README.md
- Test if 5-minute restart cycle persists with minimal code
- Will isolate whether issue is infrastructure or code-related

πŸ€– Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (3) hide show
  1. README.md +1 -1
  2. hello_world.py +4 -0
  3. requirements.txt +2 -14
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸŽ€πŸ“…
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: streamlit
7
- app_file: minimal_test.py
8
  pinned: false
9
  license: mit
10
  short_description: Voice-enabled AI assistant with WebRTC integration
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: streamlit
7
+ app_file: hello_world.py
8
  pinned: false
9
  license: mit
10
  short_description: Voice-enabled AI assistant with WebRTC integration
hello_world.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.write("Hello World - VoiceCal HF Spaces Test")
4
+ st.write("If this stays running without restarting every 5 minutes, then the infrastructure is working.")
requirements.txt CHANGED
@@ -1,14 +1,2 @@
1
- # Minimal requirements for Streamlit + WebSocket deployment
2
- streamlit>=1.28.0
3
- fastapi>=0.104.0
4
- uvicorn>=0.24.0
5
-
6
- # WebSocket support
7
- websockets>=12.0
8
-
9
- # Basic utilities only
10
- python-dotenv==1.0.0
11
- python-dateutil==2.8.2
12
-
13
- # For audio processing in WebRTC (minimal set)
14
- numpy>=1.21.0
 
1
+ # Ultra-minimal for debugging restart loop
2
+ streamlit