horiyouta commited on
Commit
ed9d3ec
·
1 Parent(s): e31bddc

2410191238

Browse files
.dockerignore CHANGED
@@ -3,5 +3,4 @@
3
  !/public/
4
 
5
  !/requirements.txt
6
- !/mmp4.zip
7
  !/app.py
 
3
  !/public/
4
 
5
  !/requirements.txt
 
6
  !/app.py
__pycache__/app.cpython-310.pyc DELETED
Binary file (3.79 kB)
 
app.py CHANGED
@@ -68,7 +68,7 @@ async def sb3(req_data: TextRequest):
68
  if processing: return ''
69
  processing = True
70
  data = json.loads(req_data.text)
71
- with zipfile.ZipFile(Path('/') / 'mmp4.zip', 'r') as template_zip:
72
  with template_zip.open('project.json') as f:
73
  project = json.loads(f.read().decode('utf-8'))
74
 
 
68
  if processing: return ''
69
  processing = True
70
  data = json.loads(req_data.text)
71
+ with zipfile.ZipFile(Path('public') / 'mmp4.zip', 'r') as template_zip:
72
  with template_zip.open('project.json') as f:
73
  project = json.loads(f.read().decode('utf-8'))
74
 
mmp4.zip → public/mmp4.zip RENAMED
File without changes