Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from transformers import
|
3 |
import torch
|
4 |
|
5 |
# Load the model and tokenizer
|
@@ -28,3 +28,8 @@ iface = gr.Interface(
|
|
28 |
# Launch the Gradio app
|
29 |
if __name__ == "__main__":
|
30 |
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
3 |
import torch
|
4 |
|
5 |
# Load the model and tokenizer
|
|
|
28 |
# Launch the Gradio app
|
29 |
if __name__ == "__main__":
|
30 |
iface.launch()
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|