Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,8 +114,7 @@ def visualize_data(df: pd.DataFrame):
|
|
114 |
Visualizes the data from the input DataFrame and returns a matplotlib figure object.
|
115 |
Args: df (DataFrame): The input DataFrame containing the data to be visualized.
|
116 |
Returns: fig: A matplotlib figure object
|
117 |
-
"""
|
118 |
-
st.header('Эмоциональная окраска комментариев на YouTube')
|
119 |
data = df['label'].value_counts()
|
120 |
fig, ax = plt.subplots()
|
121 |
plt.title("Эмоциональная окраска комментариев на YouTube")
|
|
|
114 |
Visualizes the data from the input DataFrame and returns a matplotlib figure object.
|
115 |
Args: df (DataFrame): The input DataFrame containing the data to be visualized.
|
116 |
Returns: fig: A matplotlib figure object
|
117 |
+
"""
|
|
|
118 |
data = df['label'].value_counts()
|
119 |
fig, ax = plt.subplots()
|
120 |
plt.title("Эмоциональная окраска комментариев на YouTube")
|