leedoming commited on
Commit
471be17
·
verified ·
1 Parent(s): cbc4322

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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