Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import albumentations as A
|
2 |
import base64
|
3 |
import cv2
|
4 |
-
import logging
|
5 |
import gradio as gr
|
6 |
import inspect
|
7 |
import io
|
@@ -9,6 +8,7 @@ import numpy as np
|
|
9 |
import os
|
10 |
|
11 |
from dataclasses import dataclass
|
|
|
12 |
from copy import deepcopy
|
13 |
from functools import wraps
|
14 |
from PIL import Image, ImageDraw
|
@@ -17,8 +17,6 @@ from typing import get_type_hints, Optional
|
|
17 |
|
18 |
from utils import is_not_supported_transform
|
19 |
|
20 |
-
logger = logging.getLogger(__name__)
|
21 |
-
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
|
22 |
|
23 |
# MIXPANEL_TOKEN = os.getenv("MIXPANEL_TOKEN")
|
24 |
# mp = Mixpanel(MIXPANEL_TOKEN)
|
|
|
1 |
import albumentations as A
|
2 |
import base64
|
3 |
import cv2
|
|
|
4 |
import gradio as gr
|
5 |
import inspect
|
6 |
import io
|
|
|
8 |
import os
|
9 |
|
10 |
from dataclasses import dataclass
|
11 |
+
from loguru import logger
|
12 |
from copy import deepcopy
|
13 |
from functools import wraps
|
14 |
from PIL import Image, ImageDraw
|
|
|
17 |
|
18 |
from utils import is_not_supported_transform
|
19 |
|
|
|
|
|
20 |
|
21 |
# MIXPANEL_TOKEN = os.getenv("MIXPANEL_TOKEN")
|
22 |
# mp = Mixpanel(MIXPANEL_TOKEN)
|