Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
import torch
|
| 3 |
import gdown
|
| 4 |
from torch.nn import functional as F
|
|
|
|
| 5 |
|
| 6 |
# Download the model from Google Drive
|
| 7 |
model_url = "https://drive.usercontent.google.com/download?id=14k2xUrvJ32trhLCzV2_O7klreBBA3dUu&authuser=0&confirm=t&uuid=b4a71612-10a5-4eed-ac1d-c45d7edd4b48&at=AN_67v1ELOzrBtmQcRD1ls19d3oL%3A1727609255791" #"https://drive.google.com/uc?id=14k2xUrvJ32trhLCzV2_O7klreBBA3dUu"
|
|
|
|
| 2 |
import torch
|
| 3 |
import gdown
|
| 4 |
from torch.nn import functional as F
|
| 5 |
+
import torch.nn as nn
|
| 6 |
|
| 7 |
# Download the model from Google Drive
|
| 8 |
model_url = "https://drive.usercontent.google.com/download?id=14k2xUrvJ32trhLCzV2_O7klreBBA3dUu&authuser=0&confirm=t&uuid=b4a71612-10a5-4eed-ac1d-c45d7edd4b48&at=AN_67v1ELOzrBtmQcRD1ls19d3oL%3A1727609255791" #"https://drive.google.com/uc?id=14k2xUrvJ32trhLCzV2_O7klreBBA3dUu"
|