Spaces:
Runtime error
Runtime error
Commit ·
5a4452e
1
Parent(s): b74a24a
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,11 +28,11 @@ config = {
|
|
| 28 |
"n_gpu": torch.cuda.device_count(),
|
| 29 |
}
|
| 30 |
|
| 31 |
-
os.system('git clone https://github.com/
|
| 32 |
-
os.system('rm -r
|
| 33 |
-
os.system('rm -r
|
| 34 |
-
os.system('rm -r
|
| 35 |
-
os.system('mv
|
| 36 |
|
| 37 |
model_dir = snapshot_download('Jiangjie/loren')
|
| 38 |
config['fc_dir'] = os.path.join(model_dir, 'fact_checking/roberta-large/')
|
|
|
|
| 28 |
"n_gpu": torch.cuda.device_count(),
|
| 29 |
}
|
| 30 |
|
| 31 |
+
os.system('git clone https://github.com/kkpathak91/project_metch/')
|
| 32 |
+
os.system('rm -r project_metch/data/')
|
| 33 |
+
os.system('rm -r project_metch/results/')
|
| 34 |
+
os.system('rm -r project_metch/models/')
|
| 35 |
+
os.system('mv project_metch/* ./')
|
| 36 |
|
| 37 |
model_dir = snapshot_download('Jiangjie/loren')
|
| 38 |
config['fc_dir'] = os.path.join(model_dir, 'fact_checking/roberta-large/')
|