Spaces:
Paused
Paused
Download temp_app.py from amit0987/try_hf_space: direct link, hf CLI and curl.
- Browser
- Download file 579 Bytes
-
https://huggingface.co/spaces/amit0987/try_hf_space/resolve/main/temp_app.py
- Command line
-
hf download hf://spaces/amit0987/try_hf_space/temp_app.py
-
curl -L -o temp_app.py https://huggingface.co/spaces/amit0987/try_hf_space/resolve/main/temp_app.py
579 Bytes
| import ImportantVariables | |
| import download_drive_folder | |
| import vedio_upload_to_gofile | |
| import youtube_vedio_edit | |
| def validate_name(name): | |
| download_drive_folder.download_folder_from_list([ImportantVariables.unicode_folder_id]) | |
| result = ImportantVariables.validate_name(name) | |
| file_id= "" | |
| if result: | |
| file_id =main() | |
| return result,file_id | |
| def main(): | |
| download_drive_folder.main() | |
| youtube_vedio_edit.main_for_me() | |
| public_url=vedio_upload_to_gofile.main() | |
| return public_url | |
| if __name__ == "__main__": | |
| print(validate_name("abcdef")) | |