Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
|
4 |
+
description="<a href='https://huggingface.co/spaces/EleutherAI/VQGAN_CLIP' target='_blank'>Space for CLIP_guided_diffusion is now at https://huggingface.co/spaces/EleutherAI/clip-guided-diffusion</a></p>"
|
5 |
+
|
6 |
+
def greet(name):
|
7 |
+
return "Hello " + name + "!!"
|
8 |
+
|
9 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text",description=description)
|
10 |
+
iface.launch()
|