muellerzr HF staff commited on
Commit
95c3150
1 Parent(s): 4bd209d

Swap around for reading in the docs

Browse files
Files changed (1) hide show
  1. src/app.py +3 -6
src/app.py CHANGED
@@ -26,9 +26,6 @@ initial_md = gr.Markdown("## Initial Code")
26
  initial_code = gr.Markdown(templates["initial"])
27
 
28
  with gr.Blocks() as demo:
29
- gr.Markdown(f'''# Accelerate Training Code Template Generator
30
- Here is a very basic Python training loop.
31
- Select how you would like to introduce an Accelerate capability to add to it.''')
32
  inp = gr.Radio(
33
  ["Basic", "Calculating Metrics", "Checkpointing", "Experiment Tracking", "Gradient Accumulation"],
34
  label="Select a feature"
@@ -41,12 +38,12 @@ Select how you would like to introduce an Accelerate capability to add to it.'''
41
  feature = gr.Markdown("## Accelerate Code")
42
  out = gr.Markdown()
43
  with gr.Row():
44
- with gr.Column():
45
- gr.Markdown("## Documentation Links")
46
- docs = gr.Markdown()
47
  with gr.Column():
48
  gr.Markdown("## Explanation")
49
  explanation = gr.Markdown()
 
 
 
50
  inp.change(
51
  fn=change,
52
  inputs=inp,
 
26
  initial_code = gr.Markdown(templates["initial"])
27
 
28
  with gr.Blocks() as demo:
 
 
 
29
  inp = gr.Radio(
30
  ["Basic", "Calculating Metrics", "Checkpointing", "Experiment Tracking", "Gradient Accumulation"],
31
  label="Select a feature"
 
38
  feature = gr.Markdown("## Accelerate Code")
39
  out = gr.Markdown()
40
  with gr.Row():
 
 
 
41
  with gr.Column():
42
  gr.Markdown("## Explanation")
43
  explanation = gr.Markdown()
44
+ with gr.Column():
45
+ gr.Markdown("## Documentation Links")
46
+ docs = gr.Markdown()
47
  inp.change(
48
  fn=change,
49
  inputs=inp,