我尝试使用空格推送将我的代码推入
deta space
,但出现这样的错误,
PS C:\Users\user1\game_rec> space push
Validating your Spacefile...
Your Spacefile looks good, proceeding with your push!
✓ Successfully started your build!
✓ Successfully pushed your Spacefile!
! Failed to push code: failed to push code, Request entity too large
Error: failed to push code, Request entity too large
这是我的文件结构及其大小。
game_rec
|__.space (141 bytes)
|__app.py (2 KB)
|__requirements.txt
|__games.pkl (1.80 MB)
|__similarities.pkl (930 MB)
|__.gitignore (1 KB)
|__Spacefile (1 KB)
我的空间文件如下所示:
# Spacefile Docs: https://go.deta.dev/docs/spacefile/v0
v: 0
micros:
- name: game_Rec
src: .
engine: python3.9
run: streamlit run:app.py
我认为
similarities.pkl
可能是由于其尺寸太大而导致问题,我该怎么办?