Ubaidbhat commited on
Commit
5fb9d86
·
verified ·
1 Parent(s): 7c220cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "cpu"
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.