Spaces:
Sleeping
Sleeping
Commit
•
8326ba9
1
Parent(s):
0519ad3
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import gradio as gr
|
|
7 |
import cv2
|
8 |
import io
|
9 |
import zipfile
|
|
|
10 |
#Загружаем модель
|
11 |
loaded_model = load_model('best_model', custom_objects=ak.CUSTOM_OBJECTS)
|
12 |
# Загружаем label_encoder
|
|
|
7 |
import cv2
|
8 |
import io
|
9 |
import zipfile
|
10 |
+
import base64
|
11 |
#Загружаем модель
|
12 |
loaded_model = load_model('best_model', custom_objects=ak.CUSTOM_OBJECTS)
|
13 |
# Загружаем label_encoder
|