alisrbdni commited on
Commit
bde5538
·
verified ·
1 Parent(s): f001673

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -234,7 +234,7 @@ import streamlit
234
 
235
  # If you're curious of all the loggers
236
 
237
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
238
  fl.common.logger.configure(identifier="myFlowerExperiment", filename="./log.txt")
239
 
240
  def load_data(dataset_name, train_size=20, test_size=20, num_clients=2):
 
234
 
235
  # If you're curious of all the loggers
236
 
237
+ DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
238
  fl.common.logger.configure(identifier="myFlowerExperiment", filename="./log.txt")
239
 
240
  def load_data(dataset_name, train_size=20, test_size=20, num_clients=2):