Add logging for input
Browse files
app.py
CHANGED
@@ -43,8 +43,10 @@ with torch.no_grad():
|
|
43 |
all_text_features = all_text_features.cpu().numpy()
|
44 |
|
45 |
|
46 |
-
def predict_fn(
|
47 |
-
|
|
|
|
|
48 |
|
49 |
|
50 |
iface = gr.Interface(
|
|
|
43 |
all_text_features = all_text_features.cpu().numpy()
|
44 |
|
45 |
|
46 |
+
def predict_fn(input_img):
|
47 |
+
print(type(input_img))
|
48 |
+
print(input_img)
|
49 |
+
return "Hello " + "!"
|
50 |
|
51 |
|
52 |
iface = gr.Interface(
|