File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ python server.py --pretrained_path fnlp/moss-moon-003-sft
6262- [ GODEL] ( https://github.com/microsoft/GODEL )
6363 - [ GODEL-v1_1-base-seq2seq] ( https://huggingface.co/microsoft/GODEL-v1_1-base-seq2seq )
6464 - [ GODEL-v1_1-large-seq2seq] ( https://huggingface.co/microsoft/GODEL-v1_1-large-seq2seq )
65- - [ StableLM]
65+ - [ StableLM] ( https://github.com/Stability-AI/StableLM )
6666 - [ stablelm-tuned-alpha-3b] ( https://huggingface.co/stabilityai/stablelm-tuned-alpha-3b )
6767 - [ stablelm-tuned-alpha-7b] ( https://huggingface.co/stabilityai/stablelm-tuned-alpha-7b )
6868
Original file line number Diff line number Diff line change 11{
22 "name" : " ChatZoo" ,
3- "version" : " 0.1.3 " ,
3+ "version" : " 0.1.4 " ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change 44 <!-- <el-drawer :modal="false" title="参数控制" :visible.sync="drawer" direction="ltr" >看看</el-drawer> -->
55 <div class =" chat-header clearfix" style =" display : flex ; flex-direction : column ; position :relative ;" >
66 <div style =" display : flex ; align-items : center ; justify-content : space-between ; width : 100% ;" >
7- <div style =" display : flex ; align-items : center ;" >
8- <h4 style =" width : auto ; margin : 0 ;" >{{ model }}</h4 >
7+ <div style =" display : flex ; align-items : center ; justify-content : center ; flex : 1 ; " >
8+ <h4 style =" margin : 0 ;" >{{ model }}</h4 >
99 </div >
1010 <div >
1111 <el-button type =" danger" icon =" el-icon-delete" size =" mini" @click.prevent =" deleteChatBox" circle ></el-button >
@@ -182,7 +182,10 @@ export default {
182182 const instance = axios .create ({
183183 baseURL: ' '
184184 })
185- const data = this .dialogue
185+ const data = {
186+ " query" : this .dialogue ,
187+ " params" : {}
188+ }
186189 this .loading = true
187190 console .log (' 连接' , this .url )
188191 if (this .isiframe ) {
Original file line number Diff line number Diff line change 1212 <el-input v-model =" form.url" ></el-input >
1313 </el-form-item >
1414 <el-form-item >
15- <el-radio v-model =" form.isiframe" label =" iframe" >iframe </el-radio >
16- <el-radio v-model =" form.isiframe" label =" box" >box </el-radio >
15+ <el-radio v-model =" form.isiframe" label =" iframe" >外部网页接入 </el-radio >
16+ <el-radio v-model =" form.isiframe" label =" box" >本地模型 </el-radio >
1717 </el-form-item >
1818 <el-form-item >
1919 <el-button :loading =" loading" type =" primary" @click.prevent =" register" >
You can’t perform that action at this time.
0 commit comments