mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2026-01-09 16:44:24 +01:00
refactor: repo name
This commit is contained in:
@@ -242,7 +242,7 @@ jcloud:
|
||||
version: 3.15.1.dev14
|
||||
labels:
|
||||
creator: microchain
|
||||
name: dev-gpt
|
||||
name: gptdeploy
|
||||
gateway:
|
||||
{f"uses: {prefix}://{get_user_name(DEMO_TOKEN)}/Gateway{executor_name}:latest" if use_custom_gateway else ""}
|
||||
{"" if use_docker else "install-requirements: True"}
|
||||
|
||||
@@ -148,7 +148,7 @@ metas:
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), 'static_files', 'microservice', 'jina_wrapper.py'), 'r', encoding='utf-8') as f:
|
||||
microservice_executor_boilerplate = f.read()
|
||||
microservice_executor_code = microservice_executor_boilerplate.replace('class Dev-GPTExecutor(Executor):',
|
||||
microservice_executor_code = microservice_executor_boilerplate.replace('class DevGPTExecutor(Executor):',
|
||||
f'class {microservice_name}(Executor):')
|
||||
persist_file(microservice_executor_code, os.path.join(MICROSERVICE_FOLDER_v1, EXECUTOR_FILE_NAME))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user