mirror of
https://github.com/cloudflare/flan.git
synced 2026-10-16 21:12:47 +08:00
11 lines
214 B
Python
11 lines
214 B
Python
from google.cloud import storage
|
|
import sys
|
|
import os
|
|
|
|
filename = sys.argv[1]
|
|
|
|
client = storage.Client()
|
|
bucket = client.bucket(os.getenv('bucket'))
|
|
blob = bucket.blob(filename)
|
|
blob.upload_from_filename(filename)
|