Spaces:
Runtime error
Runtime error
redpeacock78
commited on
Commit
·
021d2eb
1
Parent(s):
40b7395
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
with gr.Blocks() as anything:
|
4 |
+
prompt = gr.Textbox(label="Prompt")
|
5 |
+
ngPrompt = gr.Textbox(label="Negative Prompt")
|
6 |
+
btn = gr.Button(value="Submit")
|
7 |
+
btn.click("models/Linaqruf/anything-v3.0", input=[prompt, ngPrompt])
|
8 |
+
|
9 |
+
anything.launch()
|