Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def img2b64(image_path):
|
|
98 |
data_uri = f"data:image/jpeg;base64,{b64}"
|
99 |
return data_uri
|
100 |
|
101 |
-
@spaces.GPU(duration=
|
102 |
@spaces.GPU
|
103 |
def initialize_models(args):
|
104 |
os.makedirs("tmp", exist_ok=True)
|
|
|
98 |
data_uri = f"data:image/jpeg;base64,{b64}"
|
99 |
return data_uri
|
100 |
|
101 |
+
@spaces.GPU(duration=1000)
|
102 |
@spaces.GPU
|
103 |
def initialize_models(args):
|
104 |
os.makedirs("tmp", exist_ok=True)
|