update time app.py cuda
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ class PDBSearchAssistant:
|
|
32 |
max_new_tokens=1024,
|
33 |
temperature=0.1,
|
34 |
torch_dtype="auto",
|
35 |
-
device="
|
36 |
)
|
37 |
|
38 |
self.prompt_template = """
|
|
|
32 |
max_new_tokens=1024,
|
33 |
temperature=0.1,
|
34 |
torch_dtype="auto",
|
35 |
+
device="cuda" # cuda or cpu
|
36 |
)
|
37 |
|
38 |
self.prompt_template = """
|