File size: 152 Bytes
f6b46f3
df88f22
f6b46f3
df88f22
f6b46f3
1
2
3
4
5
import gradio as gr
import os

os.environ['TRANSFORMERS_OFFLINE'] = 'yes'
gr.Interface.load("models/facebook/fasttext-language-identification").launch()