Yayya / app.py
lucasfelezdev's picture
Update app.py
bb7f4b4
raw
history blame
233 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")
iface.launch()