Spaces:
Sleeping
Sleeping
Commit
·
edb2e2b
1
Parent(s):
f944b14
Display original source code
Browse files
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)
|