Spaces:
Sleeping
Sleeping
kevinwang676
commited on
Commit
•
d8c3968
1
Parent(s):
7d5e679
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import re, os
|
2 |
import requests
|
3 |
import json
|
|
|
4 |
|
5 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
6 |
|
|
|
1 |
import re, os
|
2 |
import requests
|
3 |
import json
|
4 |
+
import torch
|
5 |
|
6 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
7 |
|