hotmemeh commited on
Commit
cd7e456
Β·
verified Β·
1 Parent(s): a18f23e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -6
README.md CHANGED
@@ -14,16 +14,20 @@ python:
14
 
15
  # πŸš€ newspace Chatbot
16
 
17
- This Space runs a **Gradio 5.47.2 chatbot** powered by Hugging Face Transformers and GPT-2.
18
 
19
- ### Features
20
- - βœ… Streaming responses in `messages` format
21
- - βœ… Frozen dependencies via `requirements-lock.txt`
22
- - βœ… Easy to extend with other models from Hugging Face Hub
 
 
 
 
23
 
24
  ---
25
 
26
- ### How to Run Locally
27
  ```bash
28
  pip install -r requirements-lock.txt
29
  python app.py
 
14
 
15
  # πŸš€ newspace Chatbot
16
 
17
+ This Space runs a **Gradio 5.47.2 chatbot** powered by Hugging Face Transformers.
18
 
19
+ ### ⚑ Model Selection
20
+ - If a **GPU** is available β†’ loads **Falcon-7B-Instruct** (`tiiuae/falcon-7b-instruct`).
21
+ - If only **CPU** is available β†’ falls back to **GPT-2** (`gpt2`).
22
+
23
+ ### βœ… Features
24
+ - Streaming responses with OpenAI-style `messages` format.
25
+ - Auto GPU/CPU model detection.
26
+ - Dependencies locked with `requirements-lock.txt`.
27
 
28
  ---
29
 
30
+ ### πŸ–₯️ Run Locally
31
  ```bash
32
  pip install -r requirements-lock.txt
33
  python app.py