mohamedsaeed823's picture
Upload folder using huggingface_hub
2aced87 verified
raw
history blame
466 Bytes
# -*- coding: utf-8 -*-
"""Gradio-Interface.ipynb
Automatically generated by Colab.
Original file is located at
https://colab.research.google.com/drive/1uTpztep2rUf45OfbHkJRv-8XlDZUzH6j
"""
from transformers import pipeline
audioclassifier = pipeline(task="automatic-speech-recognition", model="dreahim/whisper-small-Egyptian_ASR_3train_2dev_v1")
!pip install gradio
import gradio as gr
gr.Interface.from_pipeline(audioclassifier).launch()
!gradio deploy