Update README.md
Browse files
README.md
CHANGED
|
@@ -27,12 +27,4 @@ gemini_block = ModularPipelineBlocks.from_pretrained(
|
|
| 27 |
gemini = gemini_block.init_pipeline()
|
| 28 |
output = gemini(prompt="a dog sitting by the river, watching the sunset")
|
| 29 |
print(f"{output.values['prompt']=}")
|
| 30 |
-
```
|
| 31 |
-
|
| 32 |
-
## Use in Mellon
|
| 33 |
-
|
| 34 |
-
This block includes a `mellon_pipeline_config.json` for use with [Mellon](https://github.com/cubiq/Mellon):
|
| 35 |
-
|
| 36 |
-
1. Drag a **Dynamic Block Node** from the ModularDiffusers section
|
| 37 |
-
2. Enter `diffusers-internal-dev/gemini-prompt-expander` as the repo_id
|
| 38 |
-
3. The node will transform to show the prompt input and expanded prompt output
|
|
|
|
| 27 |
gemini = gemini_block.init_pipeline()
|
| 28 |
output = gemini(prompt="a dog sitting by the river, watching the sunset")
|
| 29 |
print(f"{output.values['prompt']=}")
|
| 30 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|