Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def get_classification(candidate_labels):
|
|
63 |
data = {'Class': classification_output['labels'], 'Scores': classification_output['scores']}
|
64 |
df = pd.DataFrame(data)
|
65 |
df = df.sort_values(by='Scores', ascending=False)
|
66 |
-
fig = px.bar(df, x='Scores', y='Class', orientation='h', width=400, height=
|
67 |
fig.update_layout(
|
68 |
yaxis=dict(
|
69 |
autorange='reversed'
|
|
|
63 |
data = {'Class': classification_output['labels'], 'Scores': classification_output['scores']}
|
64 |
df = pd.DataFrame(data)
|
65 |
df = df.sort_values(by='Scores', ascending=False)
|
66 |
+
fig = px.bar(df, x='Scores', y='Class', orientation='h', width=400, height=500)
|
67 |
fig.update_layout(
|
68 |
yaxis=dict(
|
69 |
autorange='reversed'
|