mwauranjorogekelvin commited on
Commit
603d4e3
Β·
verified Β·
1 Parent(s): 66d08e1

Update app.py

Browse files

cleaner app.py

Files changed (1) hide show
  1. app.py +0 -24
app.py CHANGED
@@ -120,27 +120,3 @@ def solve(req: SolveRequest, _: str = Depends(verify_key)):
120
  # ── Launch ────────────────────────────────────────────────────────────────────
121
  if __name__ == "__main__":
122
  uvicorn.run(app, host="0.0.0.0", port=7860)
123
- ```
124
-
125
- Commit message: `"Load model locally, remove Gradio"`
126
-
127
- ---
128
-
129
- ## Step 6 β€” Watch the Build logs
130
-
131
- Go to **Logs** tab β†’ click **Build** tab. You should see:
132
- ```
133
- Downloading anuashok/ocr-captcha-v3...
134
- Saving to ./model...
135
- βœ… Model saved successfully
136
- ```
137
-
138
- This download only happens **once during build** β€” never again at runtime.
139
-
140
- ---
141
-
142
- ## Step 7 β€” Verify it works
143
-
144
- Once green dot appears, visit:
145
- ```
146
- https://mwauranjorogekelvin-imcc.hf.space/health
 
120
  # ── Launch ────────────────────────────────────────────────────────────────────
121
  if __name__ == "__main__":
122
  uvicorn.run(app, host="0.0.0.0", port=7860)