Comments (5)
Windows 有同样的问题,这个函数不太完善
# 运行时变量值
# PATH_PRIVATE_UPLOAD = 'private_upload'
# PATH_LOGGING = 'gpt_log'
# path_or_url = 'C:\\Users\\xxx/arxiv_cache/2309.06180\\extract'
# 这个 if 命中最后一个 else
if path_or_url.startswith(PATH_LOGGING): # 日志文件(按用户划分)
sensitive_path = PATH_LOGGING
elif path_or_url.startswith(PATH_PRIVATE_UPLOAD): # 用户的上传目录(按用户划分)
sensitive_path = PATH_PRIVATE_UPLOAD
elif path_or_url.startswith('tests'): # 一个常用的测试目录
return True
else:
raise FriendlyException(f"输入文件的路径 ({path_or_url}) 存在,但位置非法。请将文件上传后再执行该任务。") # return False
临时解法是在这个函数最前面加一行return True
就行了
from gpt_academic.
感谢 已解决
from gpt_academic.
from gpt_academic.
理解了,本地文件项目要打包成压缩文件.zip/.tar格式才可以
from gpt_academic.
现在3.8.2还是这样
from gpt_academic.
Related Issues (20)
- [Bug]: 正常运行时,终端会一直出现下面的提示,而且看起来是一直循环运行的,是因为没安装语音识别导致的吗? HOT 2
- [Feature]: 接入one-api时,能否在前端页面显示的是原模型名称而不是one-api-xxx?
- [Bug]:调用deepseek-coder时,会显示对话,但对话未完成出现: [Local Message] {finish_reason},获得以下报错信息: data: [DONE] HOT 2
- [Bug]: 随机小游戏应该怎么退出呢,我是菜鸟,请指教,谢谢! HOT 1
- [Bug]: 和protobuf版本相关的依赖冲突 HOT 4
- [Bug]: RuntimeError: Nougat解析论文失败。 HOT 1
- [Bug]: git pull到了新的版本,安装了requirements.txt HOT 4
- [Bug]: api额度不足
- [Feature]: 输入区,输入时换行无法实现
- [Bug]: docker代理地址查询超时 HOT 2
- [Feature]: 能否支持后台运行
- [Feature]: 微信群过期了T T
- [Bug]: 图片生产dall- HOT 1
- [Feature]: 针对OpenAI系的大模型,能否区别3.5和4.0API并在调用模型的时候自动切换
- [Bug]: 不支持不了智谱GM4的API KEY
- python main.py 不能运行[Bug]: HOT 1
- one-api 等待响应后显示 代理服务器无法使用 HOT 1
- [Bug]: 通义千问请配置 DASHSCOPE_API_KEY HOT 1
- [Bug]: Claude-3-5Sonnet
- [Feature]: 如何添加4omini的配置 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt_academic.