Spaces:
Runtime error
Runtime error
jaekookang
commited on
Commit
•
27c80ca
1
Parent(s):
388c7ca
first upload
Browse files- README.md +1 -1
- gradio_imagecompletion.py +8 -0
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🏢
|
|
4 |
colorFrom: purple
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
app_file:
|
8 |
pinned: false
|
9 |
---
|
10 |
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
app_file: gradio_imagecompletion.py
|
8 |
pinned: false
|
9 |
---
|
10 |
|
gradio_imagecompletion.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "hello " + name + "!!"
|
5 |
+
|
6 |
+
|
7 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
8 |
+
iface.launch()
|