Spaces:
Runtime error
Runtime error
import gradio as gr | |
model_path = "models/hassaanik/Language_Identifier" | |
model = gr.load_model(model_path) | |
iface = gr.Interface( | |
fn=model.predict, | |
inputs="text", | |
outputs="text" | |
) | |
iface.launch() | |