@ -54,6 +54,7 @@ print(model.config.id2label[predicted_label])
```
```python
from transformers import pipeline
import gradio as gr
pipe = pipeline("image-classification", model="ailab/resnet-dogcat")
gr.Interface.from_pipeline(pipe).launch(server_name="0.0.0.0")