Spaces:
Runtime error
Runtime error
Commit
·
e5db09b
1
Parent(s):
b4fc373
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ rtf_model = REaLTabFormer(
|
|
| 10 |
|
| 11 |
def generate_data(file):
|
| 12 |
data = arff.loadarff(open(file.name,'rt'))
|
| 13 |
-
df = pd.
|
| 14 |
rtf_model.fit(df)
|
| 15 |
# Generate synthetic data
|
| 16 |
samples = rtf_model.sample(n_samples=5)
|
|
|
|
| 10 |
|
| 11 |
def generate_data(file):
|
| 12 |
data = arff.loadarff(open(file.name,'rt'))
|
| 13 |
+
df = pd.DataFrame(data[0])
|
| 14 |
rtf_model.fit(df)
|
| 15 |
# Generate synthetic data
|
| 16 |
samples = rtf_model.sample(n_samples=5)
|