CLIPRGB-ImStack / app.py
johnowhitaker's picture
Update app.py
0192256
raw
history blame
365 Bytes
import gradio as gr
import numpy as np
def generate(text, n_steps):
#todo
return np.random.random(128, 128, 3).astype(np.uint8)
iface = gr.Interface(fn=generate,
inputs=[
gr.inputs.Textbox(label="Text Input"),
gr.inputs.Number(default=42, label="N Steps")
],
outputs=[
gr.outputs.Image(type="numpy", label="Output Image")
],
).launch()