Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline, AutoConfig
|
3 |
from huggingface_hub import cached_download, hf_hub_url, list_models
|
|
|
4 |
import requests
|
5 |
import json
|
6 |
import os
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline, AutoConfig
|
3 |
from huggingface_hub import cached_download, hf_hub_url, list_models
|
4 |
+
from transformers.modeling_utils import PreTrainedModel
|
5 |
import requests
|
6 |
import json
|
7 |
import os
|