redpeacock78 commited on
Commit
65c5efc
·
1 Parent(s): da5f83c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
 
3
  api = gr.Interface.load("models/Linaqruf/anything-v3.0")
4
 
5
- def model(prompt):
6
- return api(prompt)
7
 
8
  with gr.Blocks() as anything:
9
  prompt = gr.Textbox(label="Prompt")
 
2
 
3
  api = gr.Interface.load("models/Linaqruf/anything-v3.0")
4
 
5
+ def model(prompt, ngPrompt):
6
+ return api([prompt, ngPrompt])
7
 
8
  with gr.Blocks() as anything:
9
  prompt = gr.Textbox(label="Prompt")