Updated ReadMe.MD
Browse files
README.md
CHANGED
|
@@ -36,21 +36,8 @@ Streamlit UI
|
|
| 36 |
|
| 37 |
## Setup
|
| 38 |
|
| 39 |
-
|
| 40 |
|
| 41 |
-
In **Settings β Variables and secrets**, add:
|
| 42 |
-
|
| 43 |
-
| Name | Value |
|
| 44 |
-
|------|-------|
|
| 45 |
-
| `HF_TOKEN` | Your HF token (needs Inference API access) |
|
| 46 |
-
|
| 47 |
-
The token is read inside the app via `st.secrets["HF_TOKEN"]`.
|
| 48 |
-
|
| 49 |
-
### 2. Deploy
|
| 50 |
-
|
| 51 |
-
Push these four files to a new Hugging Face Space (SDK = Docker):
|
| 52 |
-
|
| 53 |
-
```
|
| 54 |
weather-app/
|
| 55 |
βββ src
|
| 56 |
βββsrc
|
|
@@ -60,18 +47,7 @@ weather-app/
|
|
| 60 |
βββ README.md
|
| 61 |
```
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
```bash
|
| 66 |
-
# With Docker
|
| 67 |
-
docker build -t weather-app .
|
| 68 |
-
docker run -p 7860:7860 -e HF_TOKEN=hf_... weather-app
|
| 69 |
-
|
| 70 |
-
# Or bare Python
|
| 71 |
-
pip install -r requirements.txt
|
| 72 |
-
HF_TOKEN=hf_...
|
| 73 |
-
|
| 74 |
-
Then open http://localhost:7860
|
| 75 |
|
| 76 |
## Example prompts
|
| 77 |
|
|
|
|
| 36 |
|
| 37 |
## Setup
|
| 38 |
|
| 39 |
+
files :
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
weather-app/
|
| 42 |
βββ src
|
| 43 |
βββsrc
|
|
|
|
| 47 |
βββ README.md
|
| 48 |
```
|
| 49 |
|
| 50 |
+
Open https://annanurov-rainytrek.hf.space/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
## Example prompts
|
| 53 |
|