Instructions to use tokenaii/Horus-Lens-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tokenaii/Horus-Lens-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tokenaii/Horus-Lens-1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -41,7 +41,16 @@ Below is an example showcasing the model's ability to accurately follow prompt i
|
|
| 41 |
|
| 42 |
## Quick Start
|
| 43 |
|
| 44 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
```python
|
| 46 |
import neuralnode as nn
|
| 47 |
|
|
@@ -49,7 +58,7 @@ import neuralnode as nn
|
|
| 49 |
nn.print_model_list()
|
| 50 |
```
|
| 51 |
|
| 52 |
-
### Load and generate an image
|
| 53 |
```python
|
| 54 |
import neuralnode as nn
|
| 55 |
|
|
|
|
| 41 |
|
| 42 |
## Quick Start
|
| 43 |
|
| 44 |
+
### 1. Install or Upgrade NeuralNode
|
| 45 |
+
```bash
|
| 46 |
+
# Install the framework
|
| 47 |
+
pip install neuralnode
|
| 48 |
+
|
| 49 |
+
# Optional: Upgrade the framework
|
| 50 |
+
pip install --upgrade neuralnode
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
### 2. List available Horus models
|
| 54 |
```python
|
| 55 |
import neuralnode as nn
|
| 56 |
|
|
|
|
| 58 |
nn.print_model_list()
|
| 59 |
```
|
| 60 |
|
| 61 |
+
### 3. Load and generate an image
|
| 62 |
```python
|
| 63 |
import neuralnode as nn
|
| 64 |
|