Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import cv2
|
|
| 4 |
import gradio as gr
|
| 5 |
import numpy as np
|
| 6 |
import torch
|
|
|
|
| 7 |
|
| 8 |
# Constants
|
| 9 |
low_threshold = 100
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
import numpy as np
|
| 6 |
import torch
|
| 7 |
+
from PIL import Image
|
| 8 |
|
| 9 |
# Constants
|
| 10 |
low_threshold = 100
|