Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,9 +126,10 @@ def main_page(furniture_data):
|
|
| 126 |
video_metadata = videos_data[source_video]
|
| 127 |
# Convert the metadata dictionary to a DataFrame
|
| 128 |
metadata_df = pd.DataFrame(video_metadata.items(), columns=['Attribute', 'Value'])
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
|
|
|
| 132 |
else:
|
| 133 |
st.write("Not Trending")
|
| 134 |
|
|
|
|
| 126 |
video_metadata = videos_data[source_video]
|
| 127 |
# Convert the metadata dictionary to a DataFrame
|
| 128 |
metadata_df = pd.DataFrame(video_metadata.items(), columns=['Attribute', 'Value'])
|
| 129 |
+
|
| 130 |
+
# Display the DataFrame as a table
|
| 131 |
+
st.table(metadata_df)
|
| 132 |
+
|
| 133 |
else:
|
| 134 |
st.write("Not Trending")
|
| 135 |
|