Michael Rabinovich commited on
Commit ·
76f0611
1
Parent(s): 4e86f82
app: move theme= from Blocks.launch() to Blocks() ctor (Gradio 5 API)
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ correct 3D model.
|
|
| 43 |
- **Code**: [`huggingface/cadgenbench`](https://github.com/huggingface/cadgenbench).
|
| 44 |
"""
|
| 45 |
|
| 46 |
-
with gr.Blocks(title="CADGenBench Leaderboard") as app:
|
| 47 |
gr.Markdown(
|
| 48 |
"# CADGenBench Leaderboard\n"
|
| 49 |
"_Benchmarking AI-driven CAD generation._"
|
|
@@ -108,4 +108,4 @@ to publish the resulting row on the public leaderboard.
|
|
| 108 |
|
| 109 |
|
| 110 |
if __name__ == "__main__":
|
| 111 |
-
app.launch(
|
|
|
|
| 43 |
- **Code**: [`huggingface/cadgenbench`](https://github.com/huggingface/cadgenbench).
|
| 44 |
"""
|
| 45 |
|
| 46 |
+
with gr.Blocks(title="CADGenBench Leaderboard", theme=gr.themes.Soft()) as app:
|
| 47 |
gr.Markdown(
|
| 48 |
"# CADGenBench Leaderboard\n"
|
| 49 |
"_Benchmarking AI-driven CAD generation._"
|
|
|
|
| 108 |
|
| 109 |
|
| 110 |
if __name__ == "__main__":
|
| 111 |
+
app.launch()
|