ejschwartz commited on
Commit
edb2e2b
·
1 Parent(s): f944b14

Display original source code

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,9 +78,10 @@ demo = gr.Interface(
78
  inputs=[
79
  gr.Text(label="Optimization Type", value="O0"),
80
  gr.Text(label="Normalized Assembly Code"),
 
81
  ],
82
  outputs=gr.Text(label="Raw Nova Output"),
83
  description=frontmatter.load("README.md").content,
84
- examples=[[ex["type"], ex["normalized_asm"]] for ex in examples],
85
  )
86
  demo.launch(show_error=True)
 
78
  inputs=[
79
  gr.Text(label="Optimization Type", value="O0"),
80
  gr.Text(label="Normalized Assembly Code"),
81
+ gr.Text(label="Original C Code")
82
  ],
83
  outputs=gr.Text(label="Raw Nova Output"),
84
  description=frontmatter.load("README.md").content,
85
+ examples=[[ex["type"], ex["normalized_asm"], ex["c_func"]] for ex in examples],
86
  )
87
  demo.launch(show_error=True)