refactor: for the playground we need jina requirements should be not so strict

This commit is contained in:
Florian Hönicke
2023-04-12 15:11:31 +02:00
parent b34f31faec
commit 435a350e46
6 changed files with 19 additions and 13 deletions

View File

@@ -292,14 +292,15 @@ package2,package3,...
host = jina_cloud.deploy_flow(executor_name, executor_path)
self.create_playground(executor_name, executor_path, host)
except self.MaxDebugTimeReachedException:
print('Could not debug the executor.')
print('Could not debug the Executor.')
continue
print(f'''
Executor name: {executor_name}
Executor path: {executor_path}
Host: {host}
Playground: streamlit run {os.path.join(executor_path, "app.py")}
Run the following command to start the playground:
streamlit run {os.path.join(executor_path, "app.py")}
'''
)
break