Spaces:
Sleeping
Sleeping
Mahiruoshi
commited on
Commit
·
6c897db
1
Parent(s):
5c5159a
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ class VitsGradio:
|
|
56 |
self.api_input1 = gr.TextArea(label="输入api-key或本地存储说话模型的路径", value="https://platform.openai.com/account/api-keys")
|
57 |
with gr.Accordion(label="chatbot选择", open=False):
|
58 |
self.api_input2 = gr.Checkbox(value=True, label="采用gpt3.5")
|
59 |
-
|
60 |
-
|
61 |
res = gr.TextArea()
|
62 |
Botselection = gr.Button("完成chatbot设定")
|
63 |
Botselection.click(self.check_bot, inputs=[self.api_input1,self.api_input2,self.local_chat1,self.local_chat2], outputs = [res])
|
|
|
56 |
self.api_input1 = gr.TextArea(label="输入api-key或本地存储说话模型的路径", value="https://platform.openai.com/account/api-keys")
|
57 |
with gr.Accordion(label="chatbot选择", open=False):
|
58 |
self.api_input2 = gr.Checkbox(value=True, label="采用gpt3.5")
|
59 |
+
self.local_chat1 = gr.Checkbox(value=False, label="启动本地chatbot,这里用不了,别点")
|
60 |
+
self.local_chat2 = gr.Checkbox(value=True, label="是否量化")
|
61 |
res = gr.TextArea()
|
62 |
Botselection = gr.Button("完成chatbot设定")
|
63 |
Botselection.click(self.check_bot, inputs=[self.api_input1,self.api_input2,self.local_chat1,self.local_chat2], outputs = [res])
|