Spaces:
Runtime error
Runtime error
course schedule
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def read_excel_and_process(fi):
|
|
| 54 |
data_2.append(v)
|
| 55 |
|
| 56 |
df = pd.DataFrame.from_dict(data_2)
|
| 57 |
-
df.to_excel("visualization.xlsx", index=False)
|
| 58 |
return "visualization.xlsx"
|
| 59 |
|
| 60 |
|
|
@@ -72,7 +72,7 @@ def read_excel_and_process(fi):
|
|
| 72 |
|
| 73 |
with gr.Blocks() as demo:
|
| 74 |
|
| 75 |
-
with gr.Tab("
|
| 76 |
gr.Markdown("### Visualize your course schedule.")
|
| 77 |
|
| 78 |
ex_fi = gr.File(file_count='single')
|
|
|
|
| 54 |
data_2.append(v)
|
| 55 |
|
| 56 |
df = pd.DataFrame.from_dict(data_2)
|
| 57 |
+
df.to_excel(path_or_buf="visualization.xlsx", index=False)
|
| 58 |
return "visualization.xlsx"
|
| 59 |
|
| 60 |
|
|
|
|
| 72 |
|
| 73 |
with gr.Blocks() as demo:
|
| 74 |
|
| 75 |
+
with gr.Tab("Course Schedule Visualization"):
|
| 76 |
gr.Markdown("### Visualize your course schedule.")
|
| 77 |
|
| 78 |
ex_fi = gr.File(file_count='single')
|