Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,24 @@
|
|
1 |
import os,sys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import plotly.graph_objects as go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# install environment goods
|
5 |
#os.system("pip -q install dgl -f https://data.dgl.ai/wheels/cu113/repo.html")
|
|
|
1 |
import os,sys
|
2 |
+
|
3 |
+
# install required packages
|
4 |
+
os.system('pip install plotly') # plotly 설치 추가
|
5 |
+
os.system('pip install dgl==1.0.2+cu116 -f https://data.dgl.ai/wheels/cu116/repo.html')
|
6 |
+
os.environ["DGLBACKEND"] = "pytorch"
|
7 |
+
print('Modules installed')
|
8 |
+
|
9 |
import plotly.graph_objects as go
|
10 |
+
import numpy as np
|
11 |
+
import gradio as gr
|
12 |
+
import py3Dmol
|
13 |
+
from io import StringIO
|
14 |
+
import json
|
15 |
+
import secrets
|
16 |
+
import copy
|
17 |
+
import matplotlib.pyplot as plt
|
18 |
+
from utils.sampler import HuggingFace_sampler
|
19 |
+
from utils.parsers_inference import parse_pdb
|
20 |
+
from model.util import writepdb
|
21 |
+
from utils.inpainting_util import *
|
22 |
|
23 |
# install environment goods
|
24 |
#os.system("pip -q install dgl -f https://data.dgl.ai/wheels/cu113/repo.html")
|