Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,9 +75,10 @@ def evaluate_and_update(pred_file, username,password):
|
|
| 75 |
return f"✅ gtop-1@0.25: {score1:.4f}, AP@0.25: {score2:.4f}, gtop-3@0.25: {score3:.4f}", leaderboard_df
|
| 76 |
|
| 77 |
|
| 78 |
-
|
|
|
|
| 79 |
with gr.Blocks() as demo:
|
| 80 |
-
gr.Markdown(
|
| 81 |
with gr.Row():
|
| 82 |
username = gr.Textbox(label="Username")
|
| 83 |
password = gr.Textbox(label="Password", type="password")
|
|
|
|
| 75 |
return f"✅ gtop-1@0.25: {score1:.4f}, AP@0.25: {score2:.4f}, gtop-3@0.25: {score3:.4f}", leaderboard_df
|
| 76 |
|
| 77 |
|
| 78 |
+
with open("gradio_show.md", "r", encoding="utf-8") as f:
|
| 79 |
+
readme_content = f.read()
|
| 80 |
with gr.Blocks() as demo:
|
| 81 |
+
gr.Markdown(readme_content)
|
| 82 |
with gr.Row():
|
| 83 |
username = gr.Textbox(label="Username")
|
| 84 |
password = gr.Textbox(label="Password", type="password")
|