Commit
·
3ca4173
1
Parent(s):
895d0b4
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import random
|
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
import gradio as gr
|
4 |
from gramformer import Gramformer
|
|
|
5 |
|
6 |
tokenizer = AutoTokenizer.from_pretrained("docto/Docto-Bot")
|
7 |
model = AutoModelForCausalLM.from_pretrained("docto/Docto-Bot")
|
|
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
import gradio as gr
|
4 |
from gramformer import Gramformer
|
5 |
+
import spacy
|
6 |
|
7 |
tokenizer = AutoTokenizer.from_pretrained("docto/Docto-Bot")
|
8 |
model = AutoModelForCausalLM.from_pretrained("docto/Docto-Bot")
|