Yayya / app.py
lucasfelezdev's picture
Update app.py
556d120
raw
history blame
254 Bytes
import gradio as gr
hf_writer = gr.HuggingFaceDatasetSaver("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", "diffusiondb")
def greet(name):
return hf_writer
iface = gr.Interface(fn=greet, inputs="text", outputs="image")
gr.Interface.queue(3)
iface.launch()