Spaces:
Running
Running
File size: 941 Bytes
a71717d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Streamlit version — backup
Snapshot of the CPU-only Streamlit app, taken 2026-08-11 before migrating to Gradio
(for HF Spaces ZeroGPU support). Files here are exact copies of what shipped at that time:
- `app.py` → was `src/app.py`
- `requirements.txt` → repo root
- `Dockerfile` → repo root
- `README.md` → repo root (Space metadata: `sdk: docker`, port 8501)
- `keep_alive.py` → was `keep-alive/keep_alive.py`
## Restoring the Streamlit version
```bash
cp streamlit_backup/app.py src/app.py
cp streamlit_backup/requirements.txt requirements.txt
cp streamlit_backup/Dockerfile Dockerfile
cp streamlit_backup/README.md README.md
cp streamlit_backup/keep_alive.py keep-alive/keep_alive.py
```
`src/FineTune/model.py`, `src/feedback.py`, and `src/stats.py` were not touched by the
Gradio migration and don't need restoring.
Full history is also in git (`git log` on this repo) if you need anything beyond these
five files.
|