Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import cv2
|
|
3 |
from llm import llm
|
4 |
import numpy as np
|
5 |
import os
|
6 |
-
os.makedirs("flagged", exist_ok=True)
|
7 |
def process_image(image):
|
8 |
# Convert Gradio Image to OpenCV format
|
9 |
img = cv2.cvtColor(np.array(image), cv2.COLOR_RGB2BGR)
|
|
|
3 |
from llm import llm
|
4 |
import numpy as np
|
5 |
import os
|
|
|
6 |
def process_image(image):
|
7 |
# Convert Gradio Image to OpenCV format
|
8 |
img = cv2.cvtColor(np.array(image), cv2.COLOR_RGB2BGR)
|