binary-husky
d43175d46d
fix type hint
2024-05-21 13:18:38 +00:00
binary-husky
8ca9232db2
Merge branch 'master' into frontier
2024-05-21 12:27:01 +00:00
binary-husky
1339aa0e1a
doc2x latex convertion
2024-05-21 12:24:50 +00:00
binary-husky
f41419e767
update demo
2024-05-21 11:12:08 +00:00
binary-husky
d88c585305
improve latex plugin
2024-05-21 10:47:50 +00:00
binary-husky
0a88d18c7a
secondary menu for pdf trans
2024-05-21 08:51:29 +00:00
binary-husky
0d0edc2216
Merge branch 'frontier' of github.com:binary-husky/chatgpt_academic into frontier
2024-05-19 21:54:16 +08:00
binary-husky
5e0875fcf4
from backend to front end
2024-05-19 21:54:06 +08:00
Shixian Sheng
c508b84db8
更新了README.md/Update README.md ( #1810 )
2024-05-19 20:41:17 +08:00
Menghuan1918
f2b67602bb
为docker构建添加FFmpeg依赖 ( #1807 )
...
* Test: change dockerfile to install ffmpeg
* Add the ffmpeg to dockerfile (required by edge-tts)
2024-05-19 14:27:55 +08:00
binary-husky
29daba5d2f
success?
2024-05-18 23:03:28 +08:00
binary-husky
9477824ac1
improve css
2024-05-18 21:54:15 +08:00
binary-husky
459c5b2d24
plugin refactor: phase 1
2024-05-18 20:23:50 +08:00
binary-husky
abf9b5aee5
Merge branch 'master' into frontier
2024-05-18 15:52:08 +08:00
binary-husky
2ce4482146
fix new ModelOverride fn bug
2024-05-18 15:47:25 +08:00
binary-husky
4282b83035
change TTS default to DISABLE
2024-05-18 15:43:35 +08:00
binary-husky
537be57c9b
fix tts bugs
2024-05-17 21:07:28 +08:00
binary-husky
3aa92d6c80
change main ui hint
2024-05-17 11:34:13 +08:00
awwaawwa
b7eb9aba49
[Feature]: allow model mutex override in core_functional.py ( #1708 )
...
* allow_core_func_specify_model
* change arg name
* 模型覆盖支持热更新&当模型覆盖指向不存在的模型时报错
* allow model mutex override
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2024-05-17 11:15:23 +08:00
hongyi-zhao
881a596a30
model support (gpt4o) in project. ( #1760 )
...
* Add the environment variable: OPEN_BROWSER
* Add configurable browser launching with custom arguments
- Update `config.py` to include options for specifying the browser and its arguments for opening URLs.
- Modify `main.py` to use the configured browser settings from `config.py` to launch the web page.
- Enhance `config_loader.py` to process path-like strings by expanding and normalizing paths, which supports the configuration improvements.
* Add support for the following models:
"gpt-4o", "gpt-4o-2024-05-13"
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2024-05-14 17:01:32 +08:00
binary-husky
1b3c331d01
dos2unix
2024-05-14 12:02:40 +08:00
binary-husky
70d5f2a7df
arg name err patch
2024-05-13 23:40:35 +08:00
Menghuan1918
fd2f8b9090
Provide a new fast and simple way of accessing APIs (As example: Yi-models,Deepseek) ( #1782 )
...
* deal with the message part
* Finish no_ui_connect
* finish predict part
* Delete old version
* An example of add new api
* Bug fix:can not change in "model_info"
* Bug fix
* Error message handling
* Clear the format
* An example of add a openai form API:Deepseek
* For compatibility reasons
* Feture: set different API/Endpoint to diferent models
* Add support for YI new models
* 更新doc2x的api key机制 (#1766 )
* Fix DOC2X API key refresh issue in PDF translation
* remove add
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* 修改部分文件名、变量名
* patch err
---------
Co-authored-by: alex_xiao <113411296+Alex4210987@users.noreply.github.com >
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2024-05-13 23:38:08 +08:00
binary-husky
225a2de011
Version 3.76 ( #1752 )
...
* version roll
* add upload processbar
2024-05-13 22:54:38 +08:00
binary-husky
6aea6d8e2b
Merge branch 'master' into frontier
2024-05-13 22:52:15 +08:00
alex_xiao
8d85616c27
更新doc2x的api key机制 ( #1766 )
...
* Fix DOC2X API key refresh issue in PDF translation
* remove add
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2024-05-13 22:49:40 +08:00
binary-husky
e4533dd24d
Merge branch 'master' into frontier
2024-05-04 17:00:09 +08:00
binary-husky
43ed8cb8a8
Fix fastapi version compat
version3.75
2024-05-04 16:43:42 +08:00
binary-husky
3eff964424
Update README.md
2024-05-01 17:59:25 +08:00
OREEkE
ebde98b34b
Update requirements.txt ( #1753 )
...
TTS_TYPE = "EDGE_TTS"需要的依赖
2024-05-01 14:55:04 +08:00
binary-husky
6f883031c0
Update config.py
2024-05-01 14:54:36 +08:00
binary-husky
fa15059f07
add upload processbar
2024-05-01 01:11:35 +08:00
binary-husky
685c573619
version roll
2024-04-30 21:00:25 +08:00
binary-husky
5fcd02506c
version 3.75 ( #1702 )
...
* Update version to 3.74
* Add support for Yi Model API (#1635 )
* 更新以支持零一万物模型
* 删除newbing
* 修改config
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* Refactor function signatures in bridge files
* fix qwen api change
* rename and ref functions
* rename and move some cookie functions
* 增加haiku模型,新增endpoint配置说明 (#1626 )
* haiku added
* 新增haiku,新增endpoint配置说明
* Haiku added
* 将说明同步至最新Endpoint
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* private_upload目录下进行文件鉴权 (#1596 )
* private_upload目录下进行文件鉴权
* minor fastapi adjustment
* Add logging functionality to enable saving
conversation records
* waiting to fix username retrieve
* support 2rd web path
* allow accessing default user dir
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* remove yaml deps
* fix favicon
* fix abs path auth problem
* forget to write a return
* add `dashscope` to deps
* fix GHSA-v9q9-xj86-953p
* 用户名重叠越权访问patch (#1681 )
* add cohere model api access
* cohere + can_multi_thread
* fix block user access(fail)
* fix fastapi bug
* change cohere api endpoint
* explain version
* # fix com_zhipuglm.py illegal temperature problem (#1687 )
* Update com_zhipuglm.py
# fix 用户在使用 zhipuai 界面时遇到了关于温度参数的非法参数错误
* allow store lm model dropdown
* add a btn to reverse previous reset
* remove extra fns
* Add support for glm-4v model (#1700 )
* 修改chatglm3量化加载方式 (#1688 )
Co-authored-by: zym9804 <ren990603@gmail.com >
* save chat stage 1
* consider null cookie situation
* 在点击复制按钮时激活语音
* miss some parts
* move all to js
* done first stage
* add edge tts
* bug fix
* bug fix
* remove console log
* bug fix
* bug fix
* bug fix
* audio switch
* update tts readme
* remove tempfile when done
* disable auto audio follow
* avoid play queue update after shut up
* feat: minimizing common.js
* improve tts functionality
* deterine whether the cached model is in choices
* Add support for Ollama (#1740 )
* print err when doc2x not successful
* add icon
* adjust url for doc2x key version
* prepare merge
---------
Co-authored-by: Menghuan1918 <menghuan2003@outlook.com >
Co-authored-by: Skyzayre <120616113+Skyzayre@users.noreply.github.com >
Co-authored-by: XIao <46100050+Kilig947@users.noreply.github.com >
Co-authored-by: Yuki <903728862@qq.com >
Co-authored-by: zyren123 <91042213+zyren123@users.noreply.github.com >
Co-authored-by: zym9804 <ren990603@gmail.com >
2024-04-30 20:37:41 +08:00
binary-husky
bd5280df1b
minor pdf translation adjustment
2024-04-30 00:52:36 +08:00
binary-husky
744759704d
allow personal docx api access
2024-04-29 23:53:41 +08:00
WFS
81df0aa210
fix the issue of when using google Gemini pro, don't have chat histor… ( #1743 )
...
* fix the issue of when using google Gemini pro, don't have chat history record
just add chat_log in bridge_google_gmini.py
* Update bridge_google_gemini.py
---------
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
2024-04-25 22:26:32 +08:00
Menghuan1918
cadaa81030
Fix the bug cause Nougat can not use ( #1738 )
...
* Bug fix for nougat require pdf
* Fixing bugs in a simpler and safer way
2024-04-24 12:13:44 +08:00
binary-husky
3b6cbbdcb0
Update README.md ( #1736 )
2024-04-24 11:41:56 +08:00
binary-husky
52e49c48b8
the latest zhipuai whl is broken
2024-04-23 18:20:36 +08:00
binary-husky
6ad15a6129
fix equation showing problem
2024-04-22 01:54:03 +08:00
binary-husky
09990d44d3
merge to resolve multiple pickle security issues ( #1728 )
...
* 注释调试if分支
* support pdf url for latex translation
* Merge pull request from GHSA-mvrw-h7rc-22r8
* 注释调试if分支
* Improve objload security
* Update README.md
* support pdf url for latex translation
---------
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* fix import
---------
Co-authored-by: Longtaotao <longtaotao@bupt.edu.cn >
Co-authored-by: iluem <57590186+Qhaoduoyu@users.noreply.github.com >
2024-04-21 19:37:05 +08:00
binary-husky
eac5191815
Update README.md
2024-04-21 02:12:15 +08:00
owo
ae4407135d
fix: 添加report_exception中缺失的a参数 ( #1720 )
...
在report_exception函数的定义中,参数a未包含默认值,因此应提供相应的值传入。
2024-04-18 16:27:00 +08:00
owo
f0e15bd710
fix: 修复了在else语句中调用'schema_str'之前未定义的问题 ( #1719 )
...
重新排列了方法中的条件返回语句,以确保在使用之前始终定义了'schema_str'。
2024-04-18 16:26:13 +08:00
jiangfy-ihep
5c5f442649
Fix: openai project API key pattern ( #1721 )
...
Co-authored-by: Fayu Jiang <jiangfayu@hotmail.com >
2024-04-18 16:24:29 +08:00
binary-husky
160552cc5f
introduce doc2x
2024-04-15 01:57:31 +08:00
binary-husky
c131ec0b20
rename pdf plugin file name
2024-04-14 22:46:31 +08:00
iluem
2f3aeb7976
Merge pull request from GHSA-23cr-v6pm-j89p
...
* Update crazy_utils.py
Improve security
* add a white space
---------
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
2024-04-14 21:51:03 +08:00
binary-husky
eff5b89b98
scan first, then extract
2024-04-14 21:36:57 +08:00