Spaces:
Sleeping
Sleeping
shaktibiplab
commited on
Commit
•
883e2d8
1
Parent(s):
021a024
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import torch
|
|
2 |
from transformers import pipeline, AutoTokenizer
|
3 |
import gradio as gr
|
4 |
|
|
|
5 |
# Load tokenizer
|
6 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
7 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|
|
|
2 |
from transformers import pipeline, AutoTokenizer
|
3 |
import gradio as gr
|
4 |
|
5 |
+
|
6 |
# Load tokenizer
|
7 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
8 |
tokenizer.clean_up_tokenization_spaces = False # Explicitly set the parameter if needed
|