autogpt 还原,开新分支编写

This commit is contained in:
w_xiaolizu
2023-05-30 16:38:01 +08:00
parent 548532e522
commit 519df19f43
65 changed files with 3352 additions and 1868 deletions

View File

@ -366,9 +366,9 @@ class ChatBot(ChatBotFrame):
self.draw_public_chat()
self.draw_setting_chat()
# 绘制autogpt模组
with gr.Tab('Auto-GPT'):
self.draw_next_auto()
self.draw_goals_auto()
# with gr.Tab('Auto-GPT'):
# self.draw_next_auto()
# self.draw_goals_auto()
with self.chat_tab: # 使用 gr.State()对组件进行拷贝时如果之前绘制了Markdown格式会导致启动崩溃,所以将 markdown相关绘制放在最后
self.draw_chatbot()
with self.prompt_tab:
@ -378,8 +378,8 @@ class ChatBot(ChatBotFrame):
self.signals_function()
self.signals_prompt_func()
self.signals_public()
self.signals_auto_input()
self.signals_prompt_edit()
# self.signals_auto_input()
# Start
self.auto_opentab_delay()