Spaces:
Sleeping
Sleeping
import gradio as gr | |
from gradio_client import Client | |
apol=[] | |
def greet(name): | |
client = Client("https://stabilityai-stable-diffusion-3-medium.hf.space/") | |
goes = client.predict(name,"bad quality",0,True,512,512,5,28,) | |
apol.append(goes[0]) | |
return apol | |
demo = gr.Interface(fn=greet, inputs="text", outputs="gallery") | |
demo.launch() |