📝 docs(flow-runner.mdx): fix typo in line 141, "looks" instead of "look like"
📝 docs(flow-runner.mdx): remove extra blank lines in code examples for better readability
This commit is contained in:
parent
5c42683b40
commit
e03e306292
1 changed files with 4 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ description = "Run other flows using a document as input."
|
|||
```python
|
||||
from langflow import CustomComponent
|
||||
|
||||
|
||||
class MyComponent(CustomComponent):
|
||||
display_name = "Custom Component"
|
||||
description = "This is a custom component"
|
||||
|
|
@ -95,6 +96,7 @@ The typical structure of a Custom Component is composed of _`display_name`_ and
|
|||
```python
|
||||
from langflow import CustomComponent
|
||||
|
||||
|
||||
# focus
|
||||
class FlowRunner(CustomComponent):
|
||||
# focus
|
||||
|
|
@ -141,6 +143,7 @@ from langflow import CustomComponent
|
|||
# focus
|
||||
from langchain.schema import Document
|
||||
|
||||
|
||||
class FlowRunner(CustomComponent):
|
||||
display_name = "Flow Runner"
|
||||
description = "Run other flows using a document as input."
|
||||
|
|
@ -326,7 +329,7 @@ Finally, we can add field customizations through the _`build_config`_ method. He
|
|||
|
||||
</CH.Scrollycoding>
|
||||
|
||||
Done! This is what our script and custom component look like:
|
||||
Done! This is what our script and custom component looks like:
|
||||
|
||||
<div style={{
|
||||
display: "flex",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue