Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ if st.button('Submit'):
|
|
69 |
number = predictions[0].cpu().detach().numpy()
|
70 |
probabilities = torch.nn.functional.softmax(outputs.logits, dim=-1)
|
71 |
|
72 |
-
fig = plt.figure(figsize=(
|
73 |
ax = fig.add_axes([0,0,1,1])
|
74 |
labels_plot = ['Binnenland', 'Buitenland' ,'Cultuur & Media' ,'Economie' ,'Koningshuis',
|
75 |
'Opmerkelijk' ,'Politiek', 'Regionaal nieuws', 'Tech']
|
|
|
69 |
number = predictions[0].cpu().detach().numpy()
|
70 |
probabilities = torch.nn.functional.softmax(outputs.logits, dim=-1)
|
71 |
|
72 |
+
fig = plt.figure(figsize=(10,5))
|
73 |
ax = fig.add_axes([0,0,1,1])
|
74 |
labels_plot = ['Binnenland', 'Buitenland' ,'Cultuur & Media' ,'Economie' ,'Koningshuis',
|
75 |
'Opmerkelijk' ,'Politiek', 'Regionaal nieuws', 'Tech']
|