Spaces:
Running
on
Zero
Running
on
Zero
Comment out torch import and remove it from requirements.txt
Browse files- app.py +2 -2
- requirements.txt +0 -1
app.py
CHANGED
@@ -49,8 +49,8 @@ import gradio as gr
|
|
49 |
|
50 |
print(f"Gradio version: {gr.__version__}")
|
51 |
|
52 |
-
import torch
|
53 |
-
torch.set_num_threads(1)
|
54 |
|
55 |
import subprocess
|
56 |
|
|
|
49 |
|
50 |
print(f"Gradio version: {gr.__version__}")
|
51 |
|
52 |
+
# import torch
|
53 |
+
# torch.set_num_threads(1)
|
54 |
|
55 |
import subprocess
|
56 |
|
requirements.txt
CHANGED
@@ -7,7 +7,6 @@ pyalex
|
|
7 |
compress-pickle
|
8 |
transformers
|
9 |
adapters
|
10 |
-
torch
|
11 |
tqdm
|
12 |
pyarrow
|
13 |
numba==0.58.1
|
|
|
7 |
compress-pickle
|
8 |
transformers
|
9 |
adapters
|
|
|
10 |
tqdm
|
11 |
pyarrow
|
12 |
numba==0.58.1
|