yuhuixu commited on
Commit
f371400
·
verified ·
1 Parent(s): f2b289e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -1,7 +1,14 @@
1
  import gradio as gr
2
 
3
 
4
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
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
  """