Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def submit_results(task: str, results_json):
|
|
146 |
# Create the demo interface
|
147 |
with gr.Blocks(
|
148 |
css="""
|
149 |
-
.button-link {
|
150 |
display: inline-block;
|
151 |
padding: 0.5rem 1.5rem;
|
152 |
background-color: #FF7C01;
|
@@ -161,7 +161,7 @@ with gr.Blocks(
|
|
161 |
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
162 |
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
163 |
}
|
164 |
-
.button-link:hover {
|
165 |
background-color: #E66E00;
|
166 |
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
167 |
text-decoration: none;
|
@@ -237,7 +237,9 @@ The goal of the Frugal AI Challenge is to encourage both academic and industry a
|
|
237 |
with gr.Column(scale=1):
|
238 |
text_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
239 |
with gr.Column(scale=1):
|
240 |
-
gr.Markdown(
|
|
|
|
|
241 |
|
242 |
with gr.Row():
|
243 |
text_accuracy = gr.Number(label="Accuracy", precision=4)
|
@@ -266,7 +268,9 @@ The goal of the Frugal AI Challenge is to encourage both academic and industry a
|
|
266 |
with gr.Column(scale=1):
|
267 |
image_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
268 |
with gr.Column(scale=1):
|
269 |
-
gr.Markdown(
|
|
|
|
|
270 |
|
271 |
with gr.Row():
|
272 |
image_accuracy = gr.Number(label="Accuracy", precision=4)
|
@@ -295,7 +299,9 @@ The goal of the Frugal AI Challenge is to encourage both academic and industry a
|
|
295 |
with gr.Column(scale=1):
|
296 |
audio_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
297 |
with gr.Column(scale=1):
|
298 |
-
gr.Markdown(
|
|
|
|
|
299 |
|
300 |
with gr.Row():
|
301 |
audio_accuracy = gr.Number(label="Accuracy", precision=4)
|
@@ -360,6 +366,7 @@ The goal of the Frugal AI Challenge is to encourage both academic and industry a
|
|
360 |
concurrency_id="submit_queue"
|
361 |
)
|
362 |
|
|
|
363 |
if __name__ == "__main__":
|
364 |
demo.launch(
|
365 |
server_name="0.0.0.0",
|
|
|
146 |
# Create the demo interface
|
147 |
with gr.Blocks(
|
148 |
css="""
|
149 |
+
.button-link > a {
|
150 |
display: inline-block;
|
151 |
padding: 0.5rem 1.5rem;
|
152 |
background-color: #FF7C01;
|
|
|
161 |
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
162 |
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
163 |
}
|
164 |
+
.button-link > a:hover {
|
165 |
background-color: #E66E00;
|
166 |
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
167 |
text-decoration: none;
|
|
|
237 |
with gr.Column(scale=1):
|
238 |
text_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
239 |
with gr.Column(scale=1):
|
240 |
+
gr.Markdown(
|
241 |
+
"""<div class="button-link"><a href="https://framaforms.org/2025-frugal-ai-challenge-submission-form-1736883260-0" target="_blank">3. Submit to final evaluation (form)</a></div>"""
|
242 |
+
)
|
243 |
|
244 |
with gr.Row():
|
245 |
text_accuracy = gr.Number(label="Accuracy", precision=4)
|
|
|
268 |
with gr.Column(scale=1):
|
269 |
image_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
270 |
with gr.Column(scale=1):
|
271 |
+
gr.Markdown(
|
272 |
+
"""<div class="button-link"><a href="https://framaforms.org/2025-frugal-ai-challenge-submission-form-1736883260-0" target="_blank">3. Submit to final evaluation (form)</a></div>"""
|
273 |
+
)
|
274 |
|
275 |
with gr.Row():
|
276 |
image_accuracy = gr.Number(label="Accuracy", precision=4)
|
|
|
299 |
with gr.Column(scale=1):
|
300 |
audio_submit_btn = gr.Button("2. Submit to public leaderboard (optional)", variant="secondary")
|
301 |
with gr.Column(scale=1):
|
302 |
+
gr.Markdown(
|
303 |
+
"""<div class="button-link"><a href="https://framaforms.org/2025-frugal-ai-challenge-submission-form-1736883260-0" target="_blank">3. Submit to final evaluation (form)</a></div>"""
|
304 |
+
)
|
305 |
|
306 |
with gr.Row():
|
307 |
audio_accuracy = gr.Number(label="Accuracy", precision=4)
|
|
|
366 |
concurrency_id="submit_queue"
|
367 |
)
|
368 |
|
369 |
+
|
370 |
if __name__ == "__main__":
|
371 |
demo.launch(
|
372 |
server_name="0.0.0.0",
|