Spaces:
Runtime error
Runtime error
Commit
·
4d4b545
1
Parent(s):
fc92176
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,9 +148,11 @@ with gr.Blocks() as demo:
|
|
| 148 |
result=run_ecs("Dan")
|
| 149 |
df = pd.DataFrame.from_dict(result["videos"][0])
|
| 150 |
#df=pd.DataFrame(result)
|
| 151 |
-
styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
|
|
|
|
|
|
| 152 |
#print(result)
|
| 153 |
-
gr.Dataframe(
|
| 154 |
#df1=run_ecs("Dan")
|
| 155 |
|
| 156 |
|
|
|
|
| 148 |
result=run_ecs("Dan")
|
| 149 |
df = pd.DataFrame.from_dict(result["videos"][0])
|
| 150 |
#df=pd.DataFrame(result)
|
| 151 |
+
#styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
| 152 |
+
styl = df.style.apply(highlight_cols, axis = None)
|
| 153 |
+
|
| 154 |
#print(result)
|
| 155 |
+
gr.Dataframe(styl, interactive=False)
|
| 156 |
#df1=run_ecs("Dan")
|
| 157 |
|
| 158 |
|