Spaces:
Sleeping
Sleeping
File size: 391 Bytes
b8f62af 1706d24 b8f62af 1706d24 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
from huggingface_hub import InferenceClient
client = InferenceClient("cutiee82/artsytistic-diffusion")
def infer(prompt):
return client.text_to_image(prompt)
app = gr.Interface(
infer,
inputs=gr.Textbox(label="Prompt"),
outputs=gr.Image(label="Result"),
title="Artsytistic Diffusion"
)
if __name__ == "__main__":
app.queue().launch(debug=True) |