Skip to content

Commit

Permalink
Merge pull request #81 from smalltong02/Fine_tuning1.0.4
Browse files Browse the repository at this point in the history
fix a error.
  • Loading branch information
smalltong02 authored Jul 16, 2024
2 parents c971687 + e3c2847 commit dd11312
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions WebUI/Server/funcall/google_toolboxes/photo_funcall.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def upload_photos(albums_name: str, upload_path: str):
]

# for openai
search_in_emails_openai = {
search_photos_openai = {
"type": "function",
"function": {
"name": "search_photos",
Expand All @@ -182,7 +182,7 @@ def upload_photos(albums_name: str, upload_path: str):
}

openai_photo_tools = [
search_in_emails_openai,
search_photos_openai,
]

def GetPhotoFuncallList() ->list:
Expand Down
11 changes: 7 additions & 4 deletions WebUI/configs/webuiconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,8 @@
"en-US-NancyNeural",
"en-US-SaraNeural",
"en-US-AIGenerate2Neural",
"en-US-JennyMultilingualV2Neural"
"en-US-JennyMultilingualV2Neural",
"en-US-AnaNeural"
],
"non-binary": [
"en-US-BlueNeural"
Expand Down Expand Up @@ -1750,7 +1751,9 @@
"zh-CN-XiaoyanNeural",
"zh-CN-XiaoyouNeural",
"zh-CN-XiaozhenNeural",
"zh-CN-XiaorouNeural"
"zh-CN-XiaorouNeural",
"zh-CN-XiaoshuangNeural",
"zh-CN-XiaoyouNeural"
],
"non-binary": []
},
Expand Down Expand Up @@ -2987,8 +2990,8 @@
"language": ""
},
"speech": {
"name": "",
"speaker": ""
"name": "AzureSpeechService",
"speaker": "zh-CN-XiaoyouNeural"
},
"ToolBoxes": {
"Google ToolBoxes": {
Expand Down

0 comments on commit dd11312

Please sign in to comment.