phylo-diffusion / app.py
mridulk's picture
Create app.py
e1beb15 verified
raw
history blame
250 Bytes
import torch
import gradio
def doo(text_prompt):
return
iface = gr.Interface(
fn=doo,
inputs=gr.Textbox(label="Prompt"),
outputs=[
gr.Image(label="Generated Image"),
]
)
if __name__ == "__main__":
iface.launch()