Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import torch
|
|
4 |
import torch.nn as nn
|
5 |
import gradio as gr
|
6 |
import time
|
|
|
7 |
import timm
|
8 |
from torchvision.ops import nms, box_iou
|
9 |
import torch.nn.functional as F
|
@@ -521,4 +522,4 @@ def main():
|
|
521 |
|
522 |
if __name__ == "__main__":
|
523 |
iface = main()
|
524 |
-
iface.launch()
|
|
|
4 |
import torch.nn as nn
|
5 |
import gradio as gr
|
6 |
import time
|
7 |
+
import spaces
|
8 |
import timm
|
9 |
from torchvision.ops import nms, box_iou
|
10 |
import torch.nn.functional as F
|
|
|
522 |
|
523 |
if __name__ == "__main__":
|
524 |
iface = main()
|
525 |
+
iface.launch()
|