phylo-diffusion / app.py
mridulk's picture
Update app.py
616c8f3 verified
raw
history blame
256 Bytes
import torch
import gradio as gr
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()