ADELIB commited on
Commit
aa11019
1 Parent(s): 38fcaf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ tokenizer = AutoTokenizer.from_pretrained("ADELIB/ANQG")
12
 
13
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
14
  print("device",device)
15
- model=model.to(device);
16
 
17
  import gradio as gr
18
  def generate__questions(cnt,ans):
 
12
 
13
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
14
  print("device",device)
15
+ model=model.to(device)
16
 
17
  import gradio as gr
18
  def generate__questions(cnt,ans):