Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,9 @@ import time
|
|
8 |
import json
|
9 |
import numpy as np
|
10 |
import cv2
|
11 |
-
from inference_sdk import InferenceHTTPClient
|
12 |
import matplotlib.pyplot as plt
|
|
|
13 |
|
14 |
# Load model and tokenizer
|
15 |
@st.cache_resource
|
|
|
8 |
import json
|
9 |
import numpy as np
|
10 |
import cv2
|
11 |
+
from inference_sdk import InferenceHTTPClient, HTTPCallErrorError
|
12 |
import matplotlib.pyplot as plt
|
13 |
+
import base64
|
14 |
|
15 |
# Load model and tokenizer
|
16 |
@st.cache_resource
|