Spaces:
Runtime error
Runtime error
Download models.py from namnh113/Code_Summarization: direct link, hf CLI and curl.
- Browser
- Download file 175 Bytes
-
https://huggingface.co/spaces/namnh113/Code_Summarization/resolve/main/models.py
- Command line
-
hf download hf://spaces/namnh113/Code_Summarization/models.py
-
curl -L -o models.py https://huggingface.co/spaces/namnh113/Code_Summarization/resolve/main/models.py
175 Bytes
| def return_sum_models(language): | |
| if language in ["php", "python", "java", "ruby", "javascript", "go", "cpp"]: | |
| return f"namnh113/codet5sum_{language}" | |
| return "" |