nitinbhayana's picture
Update app.py
6650ff5 verified
raw
history blame
316 Bytes
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()