Instructions to use AI4Bread/Eyedoctor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AI4Bread/Eyedoctor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FlagAlpha/Llama2-Chinese-7b-Chat", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("AI4Bread/Eyedoctor") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,8 @@ widget:
|
|
| 8 |
- text: '-'
|
| 9 |
output:
|
| 10 |
url: images/eye_main.jpg
|
| 11 |
-
base_model:
|
|
|
|
| 12 |
instance_prompt: null
|
| 13 |
license: mit
|
| 14 |
---
|
|
@@ -127,4 +128,4 @@ streamlit run st_chat_login.py
|
|
| 127 |
```
|
| 128 |
### 2. Start the Streamlit service
|
| 129 |
|
| 130 |
-
This will start the Streamlit service, and you can access the web interface through the provided local URL (e.g., http://localhost:8501).
|
|
|
|
| 8 |
- text: '-'
|
| 9 |
output:
|
| 10 |
url: images/eye_main.jpg
|
| 11 |
+
base_model:
|
| 12 |
+
- FlagAlpha/Llama2-Chinese-7b-Chat
|
| 13 |
instance_prompt: null
|
| 14 |
license: mit
|
| 15 |
---
|
|
|
|
| 128 |
```
|
| 129 |
### 2. Start the Streamlit service
|
| 130 |
|
| 131 |
+
This will start the Streamlit service, and you can access the web interface through the provided local URL (e.g., http://localhost:8501).
|