Anton Bushuiev commited on
Commit
76d7f2a
·
1 Parent(s): 53691e3

Minor update

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. requirements.txt +0 -1
app.py CHANGED
@@ -486,9 +486,9 @@ with app:
486
  # Download weights from Zenodo
487
  download_weights()
488
 
489
- # Determine device
490
- # device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
491
- device = torch.device('cuda')
492
 
493
  # Load models
494
  models = [
 
486
  # Download weights from Zenodo
487
  download_weights()
488
 
489
+ # Set device
490
+ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
491
+ # device = torch.device('cuda')
492
 
493
  # Load models
494
  models = [
requirements.txt CHANGED
@@ -1,3 +1,2 @@
1
  ppiformer @ git+https://github.com/anton-bushuiev/ppiformer.git@main
2
  gradio
3
- # gradio==4.17.0
 
1
  ppiformer @ git+https://github.com/anton-bushuiev/ppiformer.git@main
2
  gradio