dar-tau's picture
Update app.py
cbd7ed1 verified
raw
history blame
325 Bytes
import gradio as gr
from datasets import load_dataset
import matplotlib.pyplot as plt
import seaborn as sns
dataset = load_dataset('dar-tau/grammar-attention-maps-opt-350m')
def choose_sentence(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=choose_sentence, inputs="text", outputs="text")
iface.launch()