Update utils.py
Browse files
utils.py
CHANGED
@@ -22,6 +22,7 @@ import tempfile
|
|
22 |
|
23 |
from transformers import pipeline, AutoModelForSeq2SeqLM, AutoTokenizer, AutoModelForCausalLM, GPTNeoForCausalLM, GPT2Tokenizer, DistilBertTokenizer, DistilBertForQuestionAnswering
|
24 |
from sentence_transformers import SentenceTransformer, util
|
|
|
25 |
from typing import List, Dict
|
26 |
|
27 |
import gradio as gr
|
|
|
22 |
|
23 |
from transformers import pipeline, AutoModelForSeq2SeqLM, AutoTokenizer, AutoModelForCausalLM, GPTNeoForCausalLM, GPT2Tokenizer, DistilBertTokenizer, DistilBertForQuestionAnswering
|
24 |
from sentence_transformers import SentenceTransformer, util
|
25 |
+
from huggingface_hub import HfApi
|
26 |
from typing import List, Dict
|
27 |
|
28 |
import gradio as gr
|