Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
gr.HTML("""
|
6 |
<div align="center">
|
7 |
|
@@ -37,7 +44,7 @@ which teaches the model to reason adaptively when the thinking process is cut
|
|
37 |
short and generalizes effectively to unseen budget constraints without additional
|
38 |
training.
|
39 |
""")
|
40 |
-
gr.Image("figs/framework.png", label="Framework", show_label=False)
|
41 |
|
42 |
gr.Markdown(
|
43 |
"""
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
4 |
+
with gr.Blocks(css="""
|
5 |
+
#my-img img {
|
6 |
+
width: 80% !important;
|
7 |
+
display: block;
|
8 |
+
margin-left: auto;
|
9 |
+
margin-right: auto;
|
10 |
+
}
|
11 |
+
""") as demo:
|
12 |
gr.HTML("""
|
13 |
<div align="center">
|
14 |
|
|
|
44 |
short and generalizes effectively to unseen budget constraints without additional
|
45 |
training.
|
46 |
""")
|
47 |
+
gr.Image("figs/framework.png", label="Framework", show_label=False, elem_id="my-img")
|
48 |
|
49 |
gr.Markdown(
|
50 |
"""
|