diff --git a/crazy_functional.py b/crazy_functional.py index 060502e..14e6a0d 100644 --- a/crazy_functional.py +++ b/crazy_functional.py @@ -432,18 +432,18 @@ def get_crazy_functions(): except: print('Load function plugin failed') - # try: - # from crazy_functions.虚空终端 import 终端 - # function_plugins.update({ - # "超级终端": { - # "Color": "stop", - # "AsButton": False, - # # "AdvancedArgs": True, - # # "ArgsReminder": "", - # "Function": HotReload(终端) - # } - # }) - # except: - # print('Load function plugin failed') + try: + from crazy_functions.虚空终端 import 终端 + function_plugins.update({ + "超级终端": { + "Color": "stop", + "AsButton": False, + # "AdvancedArgs": True, + # "ArgsReminder": "", + "Function": HotReload(终端) + } + }) + except: + print('Load function plugin failed') return function_plugins diff --git a/docs/translate_english.json b/docs/translate_english.json index 33faebc..aa8ecd3 100644 --- a/docs/translate_english.json +++ b/docs/translate_english.json @@ -1890,7 +1890,6 @@ "暗色模式 / 亮色模式": "Dark mode / Light mode", "检测到arxiv文档连接": "Detected arXiv document link", "此插件Windows支持最佳": "This plugin has best support for Windows", - "from crazy_functions.虚空终端 import 终端": "from crazy_functions.null_terminal import Terminal", "本地论文翻译": "Local paper translation", "输出html调试文件": "Output HTML debugging file", "以下所有配置也都支持利用环境变量覆写": "All the following configurations can also be overridden using environment variables", @@ -1956,5 +1955,184 @@ "填入ENGINE": "Fill in ENGINE", "填入api版本": "Fill in the API version", "中文Bing版": "Chinese Bing version", - "当前支持的格式包括": "Currently supported formats include" + "当前支持的格式包括": "Currently supported formats include", + "交互功能模板函数": "InteractiveFunctionTemplateFunction", + "交互功能函数模板": "InteractiveFunctionFunctionTemplate", + "语音助手": "VoiceAssistant", + "微调数据集生成": "FineTuneDatasetGeneration", + "chatglm微调工具": "ChatGLMFineTuningTool", + "解析一个Rect项目": "ParseARectProject", + "用于灵活调整复杂功能的各种参数": "Various parameters for flexible adjustment of complex functions", + "阿里云实时语音识别 配置难度较高 仅建议高手用户使用 参考 https": "Aliyun real-time speech recognition has high configuration difficulty and is only recommended for advanced users. Refer to https", + "/* 设定聊天气泡的样式": "/* Set the style of chat bubbles", + "解析整个React项目": "Parsing the entire React project", + "后来也传播到了其他游戏中": "Later it spread to other games", + "多线程demo": "Multithreading demo", + "最初起源于游戏《CSGO》": "Originally originated from the game 'CSGO'", + "首先你在中文语境下通读整篇论文": "First, you read the entire paper in a Chinese context", + "避免线程阻塞": "Avoid thread blocking", + "其中第1份搜索结果中的一篇文章也指出": "One article in the first search result also points out", + "3. 更新速度": "3. Update speed", + "极少数情况下": "In very few cases", + "例如 RoPlZrM88DnAFkZK": "For example, RoPlZrM88DnAFkZK", + "每秒采样数量": "Number of samples per second", + "以及其中不少玩家以极端立场宣扬的想法和言论": "And many players promote extreme ideas and opinions", + "音频助手": "Audio assistant", + "还需要填写组织": "Also need to fill in the organization", + "计算平方和": "Calculate the sum of squares", + "请向下翻": "Please scroll down", + "起源于哪里": "Where does it originate from", + "并且网友们还 给这位UP主起了“苍蝇侠”的外号": "And netizens also gave this UP host the nickname 'Flyman'", + "第一次调用": "First call", + "点击“停止”键可终止程序": "Click the 'Stop' button to terminate the program", + "在执行完成之后": "After execution is complete", + "老六是网络流行语": "Lao Liu is an internet slang", + "请先将.doc文档转换为.docx文档": "Please convert the .doc document to .docx document first", + "从第0份、第1份、第2份搜索结果可以看出": "It can be seen from the 0th, 1st, and 2nd search results", + "如 绿帽子*深蓝色衬衫*黑色运动裤": "Such as green hat * dark blue shirt * black sports pants", + "对这个人外貌、身处的环境、内心世界、过去经历进行描写": "Describing the appearance, environment, inner world, and past experiences of this person", + "沙特和伊朗于3月10日达成了恢复两国外交关系的协议": "Saudi Arabia and Iran reached an agreement on March 10th to restore diplomatic relations between the two countries", + "例如 f37f30e0f9934c34a992f6f64f7eba4f": "For example, f37f30e0f9934c34a992f6f64f7eba4f", + "避免多用户干扰": "Avoiding interference from multiple users", + "AutoGPT是一个基于GPT-4语言模型的开源应用程序": "AutoGPT is an open-source application based on the GPT-4 language model", + "开始最终总结": "Start the final summary", + "包括事件分析、营销方案撰写、代码编程、数学运算等等": "Including event analysis, writing marketing plans, coding, mathematical calculations, etc.", + "包括背景颜色、内、外边距、圆角": "Including background color, padding, margin, and border-radius", + "只读": "Read-only", + "/* 设置表头单元格的内边距为0.5em和0.2em. */": "/* Set the padding of the table header cells to 0.5em and 0.2em. */", + "游戏中的一个情节": "A plot in the game", + "如果一句话小于7个字": "If a sentence is less than 7 words", + "赋予插件状态": "Assigning plugin status", + "用第二人称": "Using the second person", + "上传本地文件/压缩包供函数插件调用": "Upload local files/compressed packages for function plugin calls", + "要求": "Requirements", + "正在等您说完问题": "Waiting for you to finish the question", + "后来逐渐演变成指玩得比较阴险的玩家": "Later it gradually evolved to refer to players who play in a more cunning way", + "当下一次用户提交时": "When the next user submits", + "色彩主体": "Color theme", + "例如 “Espe-": "For example, 'Espe-'", + "为每一位访问的用户赋予一个独一无二的uuid编码": "Assign a unique UUID code to each visiting user", + "清空label": "Clear label", + "对话助手函数插件": "Conversation assistant function plugin", + "Chuanhu-Small-and-Beautiful主题": "Chuanhu-Small-and-Beautiful theme", + "初始化音频采集线程": "Initialize the audio capture thread", + "“我们称之为高效”这 一用语来源于群星": "The phrase 'we call it efficient' comes from the stars", + "给观众留下了等待的时间过长的印象": "Leaving the audience with the impression of waiting for too long", + "在一个异步线程中采集音频": "Collect audio in an asynchronous thread", + "正在听您讲话": "Listening to you speak", + "指游戏中玩家中独来独往、游离于队伍之外的“自由人”或玩得比较菜或者玩得比较阴险的人": "Refers to players in the game who are independent, play poorly, or play cunningly and stay away from the team", + "函数插件模板Demo": "Function plugin template Demo", + "比如巨像": "Such as giant", + "格式如org-123456789abcdefghijklmno的": "The format is like org-123456789abcdefghijklmno", + "插件锁定中": "Plugin locked", + "/* 去掉列表前缀的默认间距": "/* Remove the default spacing of the list prefix", + "内部单元格之间边框合并": "Merge borders between internal cells", + "可以将自身的状态存储到cookie中": "Can store its own state in a cookie", + "解除插件锁定": "Unlock plugin", + "/* 设定代码块的样式": "/* Set the style of the code block", + "右下角更换模型菜单中可切换openai": "You can switch openai in the lower right corner model menu", + "颜色为--border-color-primary. */": "The color is --border-color-primary. */", + "引用了一群游戏玩家对于需要对P社玩家进行枪毙的讨论": "Quoted a discussion among a group of gamers about the need to execute P community players", + "这个话题的本质是玩家们对于P 社游戏中的政治与历史元素的不同看法": "The essence of this topic is the different views of players on the political and historical elements in P community games", + "我将为您查找相关壁纸": "I will find related wallpapers for you", + "640个字节为一组": "640 bytes per group", + "赋予插件锁定 锁定插件回调路径": "Assign plugin lock, lock plugin callback path", + "等游戏": "Waiting for the game", + "将文件添加到chatbot cookie中": "Add file to chatbot cookie", + "处理个别特殊插件的锁定状态": "Handle the lock status of individual special plugins", + "/* 设置表头背景颜色为rgba": "/* Set the background color of the table header to rgba", + "读 docs\\use_azure.md": "Read docs\\use_azure.md", + "边框粗细为1.2px": "The border thickness is 1.2px", + "这个用语最初可能是在群星": "This term may have originated in the stars", + "请输入关键词": "Please enter keywords", + "给出实现的步骤和实现细节": "Provide implementation steps and details", + "可以得知失败的man是指一位在B站购买了蜘蛛侠COS服后穿上后被网友嘲笑的UP主": "The 'failed man' refers to a UP main who bought a Spiderman COS costume on Bilibili and was mocked by netizens after wearing it.", + "最近它在GitHub上爆火": "Recently, it has become popular on GitHub.", + "提取总结": "Extract summary", + "正在锁定插件": "Locking the plugin", + "给出指令": "Give instructions", + "避免遗忘导致死锁": "Avoid forgetting causing deadlock", + "建议直接在API_KEY处填写": "It is recommended to fill in directly at API_KEY", + "详情见https": "For details, see https", + "因此有人就以枪毙这些玩家来回应此类言论": "Therefore, some people respond to such comments by executing these players", + "而“失败的man”是蜘蛛侠英文名“spiderman”的谐音梗": "And 'failed man' is a pun on the English name 'Spiderman'", + "格式如org-xxxxxxxxxxxxxxxxxxxxxxxx": "The format is like org-xxxxxxxxxxxxxxxxxxxxxxxx", + "根据第1份搜索结果": "According to the first search result", + "GPT 学术优化": "GPT academic optimization", + "等待用户的再次调用": "Waiting for user's call again", + "把文件复制过去": "Copy the file over", + "该选项即将被弃用": "This option will be deprecated", + "对这个人外貌、身处的环境、内心世界、人设进行描写": "Describe this person's appearance, environment, inner world, and character setting", + "例如您可以将以下命令复制到下方": "For example, you can copy the following command below", + "使用": "Use", + "找不到": "Not found", + "正常状态": "Normal state", + "记住当前的label": "Remember the current label", + "成为了业内最热门的项目之一": "Has become one of the hottest projects in the industry", + "它可以根据用户需求自主执行任务": "It can independently perform tasks according to user needs", + "时而快时而慢": "Sometimes fast, sometimes slow", + "它们都是关于一个知乎用户所发的帖子": "They are all about a post made by a Zhihu user", + "解决插件锁定时的界面显示问题": "Resolve interface display issues when the plugin is locked", + "azure和api2d请求源": "Azure and api2d request sources", + "并不应该被当做真实的态度或者观点": "Should not be taken as a real attitude or viewpoint", + "没有阿里云语音识别APPKEY和TOKEN": "No Alibaba Cloud Speech Recognition APPKEY and TOKEN", + "Rainbow Six Siege 游戏中 Smoke 的 Canister 中装有何种物质相关的官方信息": "Official information related to the substance contained in Smoke's Canister in the game Rainbow Six Siege", + "此处填API密钥": "Fill in API key here", + "使其与文本线对齐. */": "Align it with the text line. */", + "先删除": "Delete first", + "100字以内": "Within 100 characters", + "并完全不需要用户插手": "And does not require user intervention at all", + "插件可读取“输入区”文本/路径作为参数": "The plugin can read the text/path in the 'input area' as a parameter", + "但是这个话题本身并没有实质内容": "But this topic itself has no substantive content", + "会直接转到该函数": "Will directly go to that function", + "因此这种说法没有实际意义": "Therefore, this statement has no practical meaning", + "它可以自己思考": "It can think for itself", + "/* 行内代码的背景设为淡灰色": "/* Set the background of inline code to light gray", + "请直接提交即可": "Please submit directly", + "计算欧几里得距离矩阵": "Calculate the Euclidean distance matrix", + "空单元格显示. */": "Display empty cells. */", + "openai的官方KEY需要伴随组织编码": "The official KEY of OpenAI needs to be accompanied by organizational coding", + "最近在中国的斡旋下": "Recently, under the mediation of China", + "将子线程的gpt结果写入chatbot": "Write the GPT results of the sub-thread into the chatbot", + "罗小黑战记的更新时间不定": "The update time of Luo Xiaohei's Adventure is uncertain", + "/* 设置表格单元格的内边距为5px": "/* Set the inner padding of table cells to 5px", + "透明度为0.2. */": "Opacity is 0.2. */", + "暂不提交": "Do not submit temporarily", + "用户们用来形容一些游戏策略或行为非常高效且能够带来好的效果的用语": "Terms used by users to describe game strategies or behaviors that are very efficient and can bring good results", + "等待GPT响应": "Waiting for GPT response", + "计算输入数组X中所有样本点的两两距离矩阵": "Calculate the pairwise distance matrix of all sample points in the input array X", + "因此": "Therefore", + "包括圆角、最大宽度和阴影等. */": "Including rounded corners, maximum width, and shadows, etc. */", + "初始化插件状态": "Initialize plugin status", + "请讲话": "Please speak", + "可选": "Optional", + "甚至可以自问自答执 行任务": "You can even ask and answer questions to perform tasks", + "add gpt task 创建子线程请求gpt": "add gpt task Create a sub-thread request gpt", + "失败的man是指这位UP主在穿上蜘蛛侠COS服后被网友嘲笑的情况": "The failed man refers to the situation where this UP master was mocked by netizens after wearing Spider-Man COS clothes", + "这个游戏里面流行起来的": "Popular in this game", + "获取关键词": "Get keywords", + "设定圆角和间距. */": "Set rounded corners and spacing. */", + "/* 设置表格的外边距为1em": "/* Set the margin of the table to 1em", + "只是一个玩笑或者恶搞": "Just a joke or a prank", + "双手离开鼠标键盘吧": "Take your hands off the mouse and keyboard", + "上传文件自动修正路径": "Automatically correct the path when uploading files", + "找不到任何Rect文件": "Cannot find any Rect files", + "先上传数据集": "Upload the dataset first", + "如果已经存在": "If it already exists", + "使用时": "When using", + "解除插件状态": "Release plugin status", + "cially” 转换为 “Especially”": "Convert 'cially' to 'Especially'", + "这表明两国关系已经重新回到正常化状态": "This indicates that the relationship between the two countries has returned to a normal state", + "由于提问含不合规内容被Azure过滤": "Due to the Azure filtering of questions containing non-compliant content", + "填入你亲手写的部署名": "Fill in the deployment name you wrote by hand", + "想象一个穿着者": "Imagine a wearer", + "建议使用英文单词": "It is recommended to use English words", + "没给定指令": "No instruction given", + "实时音频采集": "Real-time audio collection", + "“我们称之为高效”是指在游戏社区中": "'We call it efficient' refers to the game community", + "找 API_ORG 设置项": "Find API_ORG settings", + "虚空终端": "VoidTerminal", + "请查看terminal的输出或耐心等待": "Please check the output of the terminal or wait patiently", + "发送到openai音频解析terminal": "Send to openai audio parsing terminal", + "超级terminal": "Super terminal" } \ No newline at end of file