Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def image_to_base64(image_path):
|
|
28 |
encoded_string = base64.b64encode(img.read()).decode('utf-8')
|
29 |
return f"data:image/jpeg;base64,{encoded_string}"
|
30 |
|
31 |
-
@spaces.GPU(duration=
|
32 |
def run_inference(message, history):
|
33 |
## may work
|
34 |
messages = []
|
|
|
28 |
encoded_string = base64.b64encode(img.read()).decode('utf-8')
|
29 |
return f"data:image/jpeg;base64,{encoded_string}"
|
30 |
|
31 |
+
@spaces.GPU(duration=90)
|
32 |
def run_inference(message, history):
|
33 |
## may work
|
34 |
messages = []
|