Spaces:
Runtime error
Runtime error
Commit
·
1789ff2
1
Parent(s):
6b315a1
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ rtf_model = REaLTabFormer(
|
|
9 |
|
10 |
|
11 |
def generate_data(file):
|
12 |
-
data = arff.loadarff(file)
|
13 |
df = pd.Dataframe(data[0])
|
14 |
rtf_model.fit(df)
|
15 |
# Generate synthetic data
|
@@ -33,7 +33,7 @@ css = """
|
|
33 |
accent-color: #dfdfdf;
|
34 |
}
|
35 |
.container {
|
36 |
-
max-width:
|
37 |
margin: auto;
|
38 |
padding-top: 1.5rem;
|
39 |
}
|
|
|
9 |
|
10 |
|
11 |
def generate_data(file):
|
12 |
+
data = arff.loadarff(open(file,'rt'))
|
13 |
df = pd.Dataframe(data[0])
|
14 |
rtf_model.fit(df)
|
15 |
# Generate synthetic data
|
|
|
33 |
accent-color: #dfdfdf;
|
34 |
}
|
35 |
.container {
|
36 |
+
max-width: 430px;
|
37 |
margin: auto;
|
38 |
padding-top: 1.5rem;
|
39 |
}
|