Spaces:
Running
Running
Commit
·
eea177e
1
Parent(s):
b795dd8
- .gradio/cached_examples/14/indices.csv +2 -0
- .gradio/cached_examples/14/log.csv +3 -0
- app.py +1 -1
.gradio/cached_examples/14/indices.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
1
|
2 |
+
0
|
.gradio/cached_examples/14/log.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
HQ-CLIP Results,OpenAI CLIP Results,timestamp
|
2 |
+
"{""label"": ""a small blue car, with black wheels"", ""confidences"": [{""label"": ""a small blue car, with black wheels"", ""confidence"": 0.4862593114376068}, {""label"": ""a small blue car, with blue wheels"", ""confidence"": 0.408542275428772}, {""label"": ""a small black car, with blue wheels"", ""confidence"": 0.1004379540681839}, {""label"": ""a small black car, with black wheels"", ""confidence"": 0.00476045859977603}]}","{""label"": ""a small blue car, with blue wheels"", ""confidences"": [{""label"": ""a small blue car, with blue wheels"", ""confidence"": 0.5931569933891296}, {""label"": ""a small blue car, with black wheels"", ""confidence"": 0.29082149267196655}, {""label"": ""a small black car, with blue wheels"", ""confidence"": 0.11014258116483688}, {""label"": ""a small black car, with black wheels"", ""confidence"": 0.005878963973373175}]}",2025-07-28 14:13:24.132215
|
3 |
+
"{""label"": ""An oil painting of a smiling, long-haired woman"", ""confidences"": [{""label"": ""An oil painting of a smiling, long-haired woman"", ""confidence"": 0.9283207654953003}, {""label"": ""A sketch of a smiling, long-haired woman"", ""confidence"": 0.05559740215539932}, {""label"": ""A photo of a smiling, long-haired woman"", ""confidence"": 0.0090617211535573}, {""label"": ""An oil painting of a sad, long-haired woman"", ""confidence"": 0.007020127959549427}]}","{""label"": ""A sketch of a smiling, long-haired woman"", ""confidences"": [{""label"": ""A sketch of a smiling, long-haired woman"", ""confidence"": 0.7434180974960327}, {""label"": ""An oil painting of a smiling, long-haired woman"", ""confidence"": 0.2233257293701172}, {""label"": ""A photo of a smiling, long-haired woman"", ""confidence"": 0.031887758523225784}, {""label"": ""An oil painting of a sad, long-haired woman"", ""confidence"": 0.0013684332370758057}]}",2025-07-28 14:13:38.814910
|
app.py
CHANGED
@@ -75,7 +75,7 @@ def calculate_similarities(image, texts_str):
|
|
75 |
# 步骤 1: 将示例数据提取到变量中
|
76 |
examples_list = [
|
77 |
["examples/mnls.jpeg", "An oil painting of a smiling, long-haired woman\nAn oil painting of a sad, long-haired woman\nA sketch of a smiling, long-haired woman\nA photo of a smiling, long-haired woman"],
|
78 |
-
["examples/su7s.jpg", "a
|
79 |
]
|
80 |
|
81 |
# 步骤 2: 创建一个在应用加载时运行的函数
|
|
|
75 |
# 步骤 1: 将示例数据提取到变量中
|
76 |
examples_list = [
|
77 |
["examples/mnls.jpeg", "An oil painting of a smiling, long-haired woman\nAn oil painting of a sad, long-haired woman\nA sketch of a smiling, long-haired woman\nA photo of a smiling, long-haired woman"],
|
78 |
+
["examples/su7s.jpg", "a blue car, with black wheels\na blue car, with blue wheels\na black car, with blue wheels\na black car, with black wheels"],
|
79 |
]
|
80 |
|
81 |
# 步骤 2: 创建一个在应用加载时运行的函数
|