Spaces:
Runtime error
Runtime error
Commit
·
22ca035
1
Parent(s):
e4f334a
importing right random. making imports prettier
Browse files
app.py
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
# %%
|
2 |
-
from random import random
|
3 |
import gradio as gr
|
4 |
-
from transformers import pipeline
|
5 |
-
from matplotlib.ticker import MaxNLocator
|
6 |
-
import pandas as pd
|
7 |
-
import numpy as np
|
8 |
import matplotlib.pyplot as plt
|
9 |
-
|
|
|
|
|
|
|
|
|
10 |
|
11 |
MODEL_NAMES = ["bert-base-uncased",
|
12 |
"distilbert-base-uncased", "xlm-roberta-base"]
|
|
|
1 |
# %%
|
|
|
2 |
import gradio as gr
|
|
|
|
|
|
|
|
|
3 |
import matplotlib.pyplot as plt
|
4 |
+
import numpy as np
|
5 |
+
import pandas as pd
|
6 |
+
import random
|
7 |
+
from matplotlib.ticker import MaxNLocator
|
8 |
+
from transformers import pipeline
|
9 |
|
10 |
MODEL_NAMES = ["bert-base-uncased",
|
11 |
"distilbert-base-uncased", "xlm-roberta-base"]
|