Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -92,8 +92,10 @@ class DrugTargetInteractionApp:
|
|
| 92 |
max_length=512,
|
| 93 |
return_tensors="pt"
|
| 94 |
).to(self.device)
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
# Make prediction
|
| 98 |
with torch.no_grad():
|
| 99 |
prediction = self.model(target_inputs, drug_inputs)
|
|
|
|
| 92 |
max_length=512,
|
| 93 |
return_tensors="pt"
|
| 94 |
).to(self.device)
|
| 95 |
+
|
| 96 |
+
logger.info(f"Drug inputs: {drug_inputs}")
|
| 97 |
+
logger.info(f"Target inputs: {target_inputs}")
|
| 98 |
+
|
| 99 |
# Make prediction
|
| 100 |
with torch.no_grad():
|
| 101 |
prediction = self.model(target_inputs, drug_inputs)
|