Spaces:
Runtime error
Runtime error
AhhhhCraaaap
commited on
Commit
•
76b90aa
1
Parent(s):
9c40784
Rename stable_diffusion_1_5_webui_STABLE (2) (1).ipynb to app.py
Browse files
stable_diffusion_1_5_webui_STABLE (2) (1).ipynb → app.py
RENAMED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
"cells": [
|
3 |
{
|
@@ -411,4 +420,5 @@
|
|
411 |
},
|
412 |
"nbformat": 4,
|
413 |
"nbformat_minor": 0
|
414 |
-
}
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "!"
|
5 |
+
|
6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
{
|
11 |
"cells": [
|
12 |
{
|
|
|
420 |
},
|
421 |
"nbformat": 4,
|
422 |
"nbformat_minor": 0
|
423 |
+
}
|
424 |
+
demo.launch()
|