MattGPT commited on
Commit
0efd2dd
1 Parent(s): 0b52e66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  # Import necessary libraries
2
  import gradio as gr # Gradio is used to create web interfaces for Python scripts.
3
  from transformers import AutoConfig # AutoConfig is from the Hugging Face Transformers library, used to create configuration for various models.import gradio as gr
4
- import AutoTokenizer, AutoModelForCausalLM, AutoModel
5
 
6
  # A list of model names to start with. These are names of popular models from the Hugging Face library.
7
  model_list = ["bert-base-uncased", "google/switch-c-2048", "gpt2","mosaicml/mpt-30b", "distilbert-base-uncased,",""]
 
1
  # Import necessary libraries
2
  import gradio as gr # Gradio is used to create web interfaces for Python scripts.
3
  from transformers import AutoConfig # AutoConfig is from the Hugging Face Transformers library, used to create configuration for various models.import gradio as gr
4
+ from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModel
5
 
6
  # A list of model names to start with. These are names of popular models from the Hugging Face library.
7
  model_list = ["bert-base-uncased", "google/switch-c-2048", "gpt2","mosaicml/mpt-30b", "distilbert-base-uncased,",""]