sagawa commited on
Commit
974a678
1 Parent(s): 965bb86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ if st.button('predict'):
145
  sequences, scores = decode_output(output)
146
  output_df = save_single_prediction(input_compound, sequences, scores)
147
  else:
148
- input_data = pd.read_csv(CFG.input_data)
149
  dataset = ProductDataset(CFG, input_data)
150
  dataloader = DataLoader(
151
  dataset,
 
145
  sequences, scores = decode_output(output)
146
  output_df = save_single_prediction(input_compound, sequences, scores)
147
  else:
148
+ input_data = pd.read_csv(CFG.uploaded_file)
149
  dataset = ProductDataset(CFG, input_data)
150
  dataloader = DataLoader(
151
  dataset,