Spaces:
Running
Running
import gradio as gr | |
import requests | |
from transformers import pipeline | |
def get_topic(line): | |
return line+'split' | |
iface = gr.Interface( | |
fn=get_topic, | |
inputs='text', | |
outputs='text', | |
examples=[["cake shop","icecream parlor"]] | |
) | |
iface.launch() |