Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,19 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.Interface.load("models/NEXAS/stable_diff_custom").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.Interface.load("models/NEXAS/stable_diff_custom").launch()
|
4 |
+
|
5 |
+
def display_text():
|
6 |
+
return "PROMPT - photo of an nkl person 'desired prompt'"
|
7 |
+
|
8 |
+
iface = gr.Interface(
|
9 |
+
fn=display_text, # the function to call when the interface is used
|
10 |
+
inputs=[], # no inputs are needed as we're just displaying text
|
11 |
+
outputs="text" # the output type is text
|
12 |
+
)
|
13 |
+
|
14 |
+
iface.launch()
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
|