akhaliq HF staff commited on
Commit
47f1a6b
1 Parent(s): 6d27847

fill Fill Browser Height / Width

Browse files

app take the full width of the browser by removing the side padding, use gr.Blocks(fill_width=True) see: https://www.gradio.app/guides/controlling-layout

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ footer {
9
  }
10
  '''
11
 
12
- with gr.Blocks(css=css) as demo:
13
  with gr.Tab("1B"):
14
  gr.load("Meta-Llama-3.2-1B-Instruct",
15
  src=sambanova_gradio.registry,
 
9
  }
10
  '''
11
 
12
+ with gr.Blocks(fill_height=True,css=css) as demo:
13
  with gr.Tab("1B"):
14
  gr.load("Meta-Llama-3.2-1B-Instruct",
15
  src=sambanova_gradio.registry,