Tech-Meld commited on
Commit
90e98a6
1 Parent(s): e8d21b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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