Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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,
|