lkjjj26 commited on
Commit
039581d
·
verified ·
1 Parent(s): 6f3849b

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -30,7 +30,7 @@ class PDBSearchAssistant:
30
  max_new_tokens=1024,
31
  temperature=0.1,
32
  torch_dtype="auto",
33
- device="cuda"
34
  )
35
 
36
  self.prompt_template = """
@@ -71,6 +71,15 @@ class PDBSearchAssistant:
71
  Organism: Homo sapiens
72
  Similarity: none
73
 
 
 
 
 
 
 
 
 
 
74
  Query: "Spike protein"
75
  Protein: Spike protein
76
  Resolution: none
 
30
  max_new_tokens=1024,
31
  temperature=0.1,
32
  torch_dtype="auto",
33
+ device="mps"
34
  )
35
 
36
  self.prompt_template = """
 
71
  Organism: Homo sapiens
72
  Similarity: none
73
 
74
+ Query: "mouse insulin"
75
+ Protein: insulin
76
+ Resolution: none
77
+ Sequence: none
78
+ PDB_ID: none
79
+ Method: none
80
+ Organism: Mus musculus
81
+ Similarity: none
82
+
83
  Query: "Spike protein"
84
  Protein: Spike protein
85
  Resolution: none