wangjin2000 commited on
Commit
5d1083e
1 Parent(s): 379e38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
2
  import os
3
  import py3Dmol
4
 
 
 
5
  def display_pdb_by_pdb(pdb):
6
  # function to display pdb in py3dmol
7
  # ref: https://huggingface.co/spaces/AIGE/A_B
@@ -67,8 +69,6 @@ def suggest(option):
67
  suggestion = ""
68
  return suggestion
69
 
70
- DEFAULT_SEQ = "MGSSHHHHHHSSGLVPRGSHMRGPNPTAASLEASAGPFTVRSFTVSRPSGYGAGTVYYPTNAGGTVGAIAIVPGYTARQSSIKWWGPRLASHGFVVITIDTNSTLDQPSSRSSQQMAALRQVASLNGTSSSPIYGKVDTARMGVMGWSMGGGGSLISAANNPSLKAAAPQAPWDSSTNFSSVTVPTLIFACENDSIAPVNSSALPIYDSMSRNAKQFLEINGGSHSCANSGNSNQALIGKKGVAWMKRFMDNDTRYSTFACENPNSTRVSDFRTANCSLEDPAANKARKEAELAAATAEQ"
71
-
72
  demo = gr.Blocks()
73
 
74
  with demo:
 
2
  import os
3
  import py3Dmol
4
 
5
+ DEFAULT_SEQ = "MGSSHHHHHHSSGLVPRGSHMRGPNPTAASLEASAGPFTVRSFTVSRPSGYGAGTVYYPTNAGGTVGAIAIVPGYTARQSSIKWWGPRLASHGFVVITIDTNSTLDQPSSRSSQQMAALRQVASLNGTSSSPIYGKVDTARMGVMGWSMGGGGSLISAANNPSLKAAAPQAPWDSSTNFSSVTVPTLIFACENDSIAPVNSSALPIYDSMSRNAKQFLEINGGSHSCANSGNSNQALIGKKGVAWMKRFMDNDTRYSTFACENPNSTRVSDFRTANCSLEDPAANKARKEAELAAATAEQ"
6
+
7
  def display_pdb_by_pdb(pdb):
8
  # function to display pdb in py3dmol
9
  # ref: https://huggingface.co/spaces/AIGE/A_B
 
69
  suggestion = ""
70
  return suggestion
71
 
 
 
72
  demo = gr.Blocks()
73
 
74
  with demo: