Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove user_name and model_path from submit.py
#16
by
albertvillanova
HF staff
- opened
Remove user_name
and model_path
from submit.py by using pathlib.
albertvillanova
changed pull request title from
Update src/submission/submit.py
to Remove user_name and model_path from submit.py
@clefourrier , as previously discussed, is it OK if I remove the request file writing/deleting locally?
Current code logic for request in submit.py:
- Write request file locally to the snapshot of the request repo
- The snapshot of the request repo is pulled from the Hub at each Space reinitialization
- Upload request file to request repo
- Delete request file locally