Spaces:
Sleeping
Sleeping
Muhammad Mustehson commited on
Commit ·
00c47cd
1
Parent(s): 44de337
F-string Bug
Browse files- app.py +0 -1
- notebook.py +1 -1
app.py
CHANGED
|
@@ -2,7 +2,6 @@ import json
|
|
| 2 |
import gradio as gr
|
| 3 |
import pandas as pd
|
| 4 |
import plotly.express as px
|
| 5 |
-
import plotly.graph_objects as go
|
| 6 |
from notebook import Notebook
|
| 7 |
|
| 8 |
# Height of the Tabs Text Area
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
import pandas as pd
|
| 4 |
import plotly.express as px
|
|
|
|
| 5 |
from notebook import Notebook
|
| 6 |
|
| 7 |
# Height of the Tabs Text Area
|
notebook.py
CHANGED
|
@@ -68,7 +68,7 @@ class Notebook:
|
|
| 68 |
|
| 69 |
|
| 70 |
def _add_metric_header(self, config, index):
|
| 71 |
-
self.nb.cells.append(nbf.new_markdown_cell(f"## 📈 Metric {index+1} {config.get('title',
|
| 72 |
|
| 73 |
|
| 74 |
def _chart_code(self, chart_type, chart_data, chart_config):
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
def _add_metric_header(self, config, index):
|
| 71 |
+
self.nb.cells.append(nbf.new_markdown_cell(f"## 📈 Metric {index+1} {config.get('title', '')}\n**Timestamp:** {datetime.now(timezone.utc).isoformat()}"))
|
| 72 |
|
| 73 |
|
| 74 |
def _chart_code(self, chart_type, chart_data, chart_config):
|