Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ class options:
|
|
210 |
self.no_trace=no_trace
|
211 |
|
212 |
def get_output(input_image):
|
213 |
-
|
214 |
source = f"{BASE_DIR}/input"
|
215 |
opt = options(weights='logo_detection.pt',source=source)
|
216 |
bbox = None
|
|
|
210 |
self.no_trace=no_trace
|
211 |
|
212 |
def get_output(input_image):
|
213 |
+
input_image.save(f"{BASE_DIR}/input/image.jpg")
|
214 |
source = f"{BASE_DIR}/input"
|
215 |
opt = options(weights='logo_detection.pt',source=source)
|
216 |
bbox = None
|