Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,8 @@ import torch.nn as nn
|
|
| 6 |
from torchvision import models, transforms
|
| 7 |
import streamlit as st
|
| 8 |
from typing import Tuple
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Device configuration
|
| 11 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
|
| 6 |
from torchvision import models, transforms
|
| 7 |
import streamlit as st
|
| 8 |
from typing import Tuple
|
| 9 |
+
from fpdf import FPDF
|
| 10 |
+
import io
|
| 11 |
|
| 12 |
# Device configuration
|
| 13 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|