Edits / app.py
Linoy Tsaban
Update app.py
4bfe3d8
raw
history blame
333 Bytes
import gradio as gr
import torch
import requests
from io import BytesIO
from diffusers import StableDiffusionPipeline
from diffusers import DDIMScheduler
from utils import hi
def greet(name):
# return "Hello " + name + "!!"
return hi() +""+ name
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()