Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,11 @@ import os
|
|
| 10 |
import torch.nn as nn
|
| 11 |
import math
|
| 12 |
from pytorch_lightning import LightningModule
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Model Components
|
| 15 |
class PositionalEncoding(nn.Module):
|
|
|
|
| 10 |
import torch.nn as nn
|
| 11 |
import math
|
| 12 |
from pytorch_lightning import LightningModule
|
| 13 |
+
from PIL import Image
|
| 14 |
+
|
| 15 |
+
# Display logo
|
| 16 |
+
logo = Image.open('AI_logo.png')
|
| 17 |
+
st.image(logo, width=100)
|
| 18 |
|
| 19 |
# Model Components
|
| 20 |
class PositionalEncoding(nn.Module):
|