Yayya / app.py
lucasfelezdev's picture
Update app.py
ce12e5f
raw
history blame
258 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")
gradio.Interface.queue(3)
iface.launch()