Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
-
|
4 |
print('device', torch.device("cuda" if torch.cuda.is_available() else "cpu"))
|
5 |
-
|
6 |
import numpy as np
|
7 |
import pandas as pd
|
8 |
import random
|
|
|
1 |
+
import torch
|
2 |
+
|
3 |
import spaces
|
4 |
import gradio as gr
|
|
|
5 |
print('device', torch.device("cuda" if torch.cuda.is_available() else "cpu"))
|
6 |
+
|
7 |
import numpy as np
|
8 |
import pandas as pd
|
9 |
import random
|