refactor: playground more stable generation

This commit is contained in:
Florian Hönicke
2023-05-22 11:48:28 +02:00
parent 458d5eb1a4
commit 5792225ea1
5 changed files with 60 additions and 69 deletions

View File

@@ -27,7 +27,9 @@ FILE_AND_TAG_PAIRS = [
]
INDICATOR_TO_IMPORT_STATEMENT = {
'io.BytesIO': 'import io',
'BytesIO': 'from io import BytesIO',
'base64': 'import base64',
}
FLOW_URL_PLACEHOLDER = 'jcloud.jina.ai'