Spaces:
Runtime error
Runtime error
SyrWin
commited on
Commit
·
7072c88
1
Parent(s):
0cb0069
update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import subprocess
|
2 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
3 |
-
import spaces
|
4 |
import os
|
5 |
import torch
|
6 |
import argparse
|
@@ -16,6 +15,7 @@ from data_provider.data_utils import json_read, json_write
|
|
16 |
from data_provider.data_utils import smiles2data, reformat_smiles
|
17 |
import gradio as gr
|
18 |
from datetime import datetime
|
|
|
19 |
|
20 |
## for pyg bug
|
21 |
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|
|
|
1 |
import subprocess
|
2 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
|
|
3 |
import os
|
4 |
import torch
|
5 |
import argparse
|
|
|
15 |
from data_provider.data_utils import smiles2data, reformat_smiles
|
16 |
import gradio as gr
|
17 |
from datetime import datetime
|
18 |
+
import spaces
|
19 |
|
20 |
## for pyg bug
|
21 |
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|