pabloruizponce commited on
Commit
0b1bfdd
1 Parent(s): ec4c52c

removed cuda full

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,8 +29,7 @@ def generate(textI, texti1, texti2):
29
  return filename
30
 
31
  model = AutoModel.from_pretrained("pabloruizponce/in2IN", trust_remote_code=True)
32
- if torch.cuda.is_available():
33
- model.to("cuda")
34
  demo = gr.Interface(fn=generate,
35
  inputs=[gr.Text(label="Interaction Description"),
36
  gr.Text(label="Individual1 Description"),
 
29
  return filename
30
 
31
  model = AutoModel.from_pretrained("pabloruizponce/in2IN", trust_remote_code=True)
32
+
 
33
  demo = gr.Interface(fn=generate,
34
  inputs=[gr.Text(label="Interaction Description"),
35
  gr.Text(label="Individual1 Description"),