Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
pipe = pipeline("text-classification", model="knowhate/HateBERTimbau")
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
pipe = pipeline("text-classification", model="knowhate/HateBERTimbau")
|