Spaces:
Running
on
A10G
Running
on
A10G
File size: 284 Bytes
c25e2cc 3cdacdf c25e2cc |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import gradio as gr
import torch
import requests
from io import BytesIO
from diffusers import StableDiffusionPipeline
from diffusers import DDIMScheduler
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch() |