Spaces:
Runtime error
Runtime error
import gradio as gr | |
#gr.load("models/WhereIsAI/UAE-Large-V1").launch() | |
# Use a pipeline as a high-level helper | |
from transformers import pipeline | |
pipe = pipeline("feature-extraction", model="WhereIsAI/UAE-Large-V1") | |
gr.Interface( | |
predict, | |
inputs='text', | |
outputs='text', | |
title="Mapping", | |
).launch() |