LukeOLuck commited on
Commit
5d44125
·
1 Parent(s): 6c038be

fix examples

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -61,9 +61,6 @@ title = "A roberta-base Classifier"
61
  description = "[A roberta-base BERT based model](https://huggingface.co/roberta-base) text model to classify text on the [HuggingFace 🤗 dair-ai/emotion dataset](https://huggingface.co/datasets/dair-ai/emotion). [Source Code Found Here](https://colab.research.google.com/drive/1P7rfiDF1jfNHKmkB7WjHPi8PQBLQ4Ege?usp=sharing)"
62
  article = "Built with [Gradio](https://github.com/gradio-app/gradio) and [PyTorch](https://pytorch.org/). [Source Code Found Here](https://colab.research.google.com/drive/1P7rfiDF1jfNHKmkB7WjHPi8PQBLQ4Ege?usp=sharing)"
63
 
64
- # Create example list
65
- example_list = [["examples/" + example] for example in os.listdir("examples")]
66
-
67
  # Create the Gradio demo
68
  demo = gr.Interface(fn=predict,
69
  inputs=gr.Textbox(lines=2, placeholder="Type your text here..."),
 
61
  description = "[A roberta-base BERT based model](https://huggingface.co/roberta-base) text model to classify text on the [HuggingFace 🤗 dair-ai/emotion dataset](https://huggingface.co/datasets/dair-ai/emotion). [Source Code Found Here](https://colab.research.google.com/drive/1P7rfiDF1jfNHKmkB7WjHPi8PQBLQ4Ege?usp=sharing)"
62
  article = "Built with [Gradio](https://github.com/gradio-app/gradio) and [PyTorch](https://pytorch.org/). [Source Code Found Here](https://colab.research.google.com/drive/1P7rfiDF1jfNHKmkB7WjHPi8PQBLQ4Ege?usp=sharing)"
63
 
 
 
 
64
  # Create the Gradio demo
65
  demo = gr.Interface(fn=predict,
66
  inputs=gr.Textbox(lines=2, placeholder="Type your text here..."),