Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ mergedModel.eval()
|
|
29 |
|
30 |
|
31 |
def inferance(query: str, model, tokenizer, temp = 1.0, limit = 200) -> str:
|
32 |
-
device = "
|
33 |
|
34 |
prompt_template = """
|
35 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
|
|
29 |
|
30 |
|
31 |
def inferance(query: str, model, tokenizer, temp = 1.0, limit = 200) -> str:
|
32 |
+
device = "cuda:0"
|
33 |
|
34 |
prompt_template = """
|
35 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|