Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,10 +71,12 @@ def parse_notebook(score_options, output_options, index):
|
|
| 71 |
(notebook_body, resources) = html_exporter.from_notebook_node(notebook_parsed)
|
| 72 |
notebook_body = embed_figures(notebook_body, resources)
|
| 73 |
|
|
|
|
|
|
|
| 74 |
return notebook_body, out_path, notebook_response
|
| 75 |
|
| 76 |
|
| 77 |
-
with gr.Blocks() as demo:
|
| 78 |
gr.Markdown("# Kaggle Notebooks")
|
| 79 |
with gr.Row():
|
| 80 |
score_options = gr.Dropdown(["error","0", "1", "2", "3", "4", "5"], value="5", label="Notebook score", info="Select the assigned notebook score.")
|
|
|
|
| 71 |
(notebook_body, resources) = html_exporter.from_notebook_node(notebook_parsed)
|
| 72 |
notebook_body = embed_figures(notebook_body, resources)
|
| 73 |
|
| 74 |
+
|
| 75 |
+
|
| 76 |
return notebook_body, out_path, notebook_response
|
| 77 |
|
| 78 |
|
| 79 |
+
with gr.Blocks(css=css) as demo:
|
| 80 |
gr.Markdown("# Kaggle Notebooks")
|
| 81 |
with gr.Row():
|
| 82 |
score_options = gr.Dropdown(["error","0", "1", "2", "3", "4", "5"], value="5", label="Notebook score", info="Select the assigned notebook score.")
|