Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import numpy as np
|
|
5 |
import gradio as gr
|
6 |
from io import BytesIO
|
7 |
|
|
|
8 |
def crop_face(base64_image):
|
9 |
# Decode the base64 image
|
10 |
img_data = base64.b64decode(base64_image)
|
|
|
5 |
import gradio as gr
|
6 |
from io import BytesIO
|
7 |
|
8 |
+
@spaces.GPU
|
9 |
def crop_face(base64_image):
|
10 |
# Decode the base64 image
|
11 |
img_data = base64.b64decode(base64_image)
|