Spaces:
Runtime error
Runtime error
Commit
•
348a64a
1
Parent(s):
d93b6b1
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ labels_articles = {1: 'Computer Science', 2: 'Economics', 3: "Electrical Enginee
|
|
9 |
4: "Mathematics", 5: "Physics", 6: "Quantitative Biology", 7: "Quantitative Finance",
|
10 |
8: "Statistics"
|
11 |
}
|
|
|
|
|
12 |
def models():
|
13 |
class Net(nn.Module):
|
14 |
def __init__(self):
|
|
|
9 |
4: "Mathematics", 5: "Physics", 6: "Quantitative Biology", 7: "Quantitative Finance",
|
10 |
8: "Statistics"
|
11 |
}
|
12 |
+
|
13 |
+
@st.cache(allow_output_mutation=True)
|
14 |
def models():
|
15 |
class Net(nn.Module):
|
16 |
def __init__(self):
|