Spaces:
Running
on
A10G
Running
on
A10G
File size: 333 Bytes
c25e2cc 3cdacdf 4bfe3d8 c25e2cc b2a1da0 c25e2cc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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() |