Spaces:
Runtime error
Runtime error
AhhhhCraaaap
commited on
Commit
•
3f9d0f8
1
Parent(s):
f62d860
Update stable_diffusion_1_5_webui_STABLE.ipynb
Browse files
stable_diffusion_1_5_webui_STABLE.ipynb
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
"cells": [
|
3 |
{
|
@@ -411,4 +417,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 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
{
|
8 |
"cells": [
|
9 |
{
|
|
|
417 |
},
|
418 |
"nbformat": 4,
|
419 |
"nbformat_minor": 0
|
420 |
+
}
|
421 |
+
iface.launch()
|