Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,8 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 10 |
from google.cloud import storage
|
| 11 |
from google.oauth2 import service_account
|
| 12 |
import json
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# upload image to google cloud storage
|
| 15 |
def upload_image_to_gcs_blob(image):
|
|
|
|
| 10 |
from google.cloud import storage
|
| 11 |
from google.oauth2 import service_account
|
| 12 |
import json
|
| 13 |
+
import os
|
| 14 |
+
import requests
|
| 15 |
|
| 16 |
# upload image to google cloud storage
|
| 17 |
def upload_image_to_gcs_blob(image):
|