Spaces:
Running
Running
ycy
commited on
Commit
·
f68345e
1
Parent(s):
f8e55b9
- src/about.py +51 -0
src/about.py
CHANGED
@@ -85,6 +85,57 @@ To reproduce our results, here is the commands you can run:
|
|
85 |
"""
|
86 |
|
87 |
EVALUATION_QUEUE_TEXT = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
"""
|
90 |
|
|
|
85 |
"""
|
86 |
|
87 |
EVALUATION_QUEUE_TEXT = """
|
88 |
+
<div style="font-family: 'Arial', sans-serif; padding: 20px;">
|
89 |
+
|
90 |
+
<h2 style="font-size: 28px; font-weight: bold; text-align: center; color: #4CAF50;">Model Submission</h2>
|
91 |
+
|
92 |
+
<p style="font-size: 18px; color: #555;">
|
93 |
+
We are excited to invite you to submit your Vision-Language Model for evaluation. Please choose one of the following submission methods:
|
94 |
+
</p>
|
95 |
+
|
96 |
+
<!-- Open-source model submission -->
|
97 |
+
<div style="margin-top: 20px; padding: 10px; background-color: #f1f1f1; border-radius: 8px;">
|
98 |
+
<h3 style="font-size: 22px; color: #6A5ACD;">1. Open-Source Model Submission</h3>
|
99 |
+
<p style="font-size: 16px; color: #444;">
|
100 |
+
If your model is open-source, simply provide the model name in the following format: <b>org/modelname</b>.
|
101 |
+
</p>
|
102 |
+
<label for="opensource-model" style="font-size: 16px; color: #444;">Model Name (org/modelname):</label>
|
103 |
+
<input type="text" id="opensource-model" name="opensource-model" placeholder="e.g., org/modelname" style="width: 100%; padding: 8px; margin-top: 10px; border-radius: 4px;">
|
104 |
+
</div>
|
105 |
+
|
106 |
+
<!-- Closed-source model submission -->
|
107 |
+
<div style="margin-top: 20px; padding: 10px; background-color: #f1f1f1; border-radius: 8px;">
|
108 |
+
<h3 style="font-size: 22px; color: #6A5ACD;">2. Closed-Source Model Submission</h3>
|
109 |
+
<p style="font-size: 16px; color: #444;">
|
110 |
+
If your model is closed-source, please select one of the following methods to submit your model:
|
111 |
+
</p>
|
112 |
+
|
113 |
+
<!-- Option 1: User performs evaluation -->
|
114 |
+
<div style="margin-top: 10px;">
|
115 |
+
<input type="radio" id="user-evaluates" name="evaluation-method" value="user-evaluates" style="margin-right: 8px;">
|
116 |
+
<label for="user-evaluates" style="font-size: 16px; color: #444;">I will evaluate my model using your provided evaluation methods and submit the model name and results.</label>
|
117 |
+
</div>
|
118 |
+
|
119 |
+
<!-- Option 2: We evaluate the model -->
|
120 |
+
<div style="margin-top: 10px;">
|
121 |
+
<input type="radio" id="we-evaluate" name="evaluation-method" value="we-evaluate" style="margin-right: 8px;">
|
122 |
+
<label for="we-evaluate" style="font-size: 16px; color: #444;">I would like you to evaluate my model. Please provide the model's URL and API key.</label>
|
123 |
+
</div>
|
124 |
+
|
125 |
+
<!-- User Input for Closed-Source Model -->
|
126 |
+
<div id="closed-source-details" style="margin-top: 20px; display: none;">
|
127 |
+
<p style="font-size: 16px; color: #444;">
|
128 |
+
For option 2, please provide the following information:
|
129 |
+
</p>
|
130 |
+
<label for="model-url" style="font-size: 16px; color: #444;">Model URL:</label>
|
131 |
+
<input type="url" id="model-url" name="model-url" placeholder="https://example.com" style="width: 100%; padding: 8px; margin-top: 10px; border-radius: 4px;">
|
132 |
+
|
133 |
+
<label for="api-key" style="font-size: 16px; color: #444;">API Key:</label>
|
134 |
+
<input type="text" id="api-key" name="api-key" placeholder="Your API key" style="width: 100%; padding: 8px; margin-top: 10px; border-radius: 4px;">
|
135 |
+
</div>
|
136 |
+
</div>
|
137 |
+
|
138 |
+
</div>
|
139 |
|
140 |
"""
|
141 |
|