📝 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:
Gabriel Luiz Freitas Almeida 2023-07-31 11:46:23 -03:00
commit e03e306292

View file

@ -76,6 +76,7 @@ description = "Run other flows using a document as input."
```python ```python
from langflow import CustomComponent from langflow import CustomComponent
class MyComponent(CustomComponent): class MyComponent(CustomComponent):
display_name = "Custom Component" display_name = "Custom Component"
description = "This is a 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 ```python
from langflow import CustomComponent from langflow import CustomComponent
# focus # focus
class FlowRunner(CustomComponent): class FlowRunner(CustomComponent):
# focus # focus
@ -141,6 +143,7 @@ from langflow import CustomComponent
# focus # focus
from langchain.schema import Document from langchain.schema import Document
class FlowRunner(CustomComponent): class FlowRunner(CustomComponent):
display_name = "Flow Runner" display_name = "Flow Runner"
description = "Run other flows using a document as input." 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> </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={{ <div style={{
display: "flex", display: "flex",