Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, Auto
|
|
5 |
import gradio as gr
|
6 |
import re
|
7 |
|
8 |
-
|
9 |
# Check if GPU is available and use it if possible
|
10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
11 |
|
|
|
5 |
import gradio as gr
|
6 |
import re
|
7 |
|
|
|
8 |
# Check if GPU is available and use it if possible
|
9 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
10 |
|