Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,9 +24,10 @@ def set_model(current_model):
|
|
| 24 |
return gr.update(label=(f"{current_model}"))
|
| 25 |
|
| 26 |
|
| 27 |
-
def send_it1(inputs, model_choice):
|
| 28 |
proc1=models2[model_choice]
|
| 29 |
output1=proc1(inputs)
|
|
|
|
| 30 |
return(output1)
|
| 31 |
css=""""""
|
| 32 |
|
|
|
|
| 24 |
return gr.update(label=(f"{current_model}"))
|
| 25 |
|
| 26 |
|
| 27 |
+
def send_it1(inputs, negative_prompt, model_choice):
|
| 28 |
proc1=models2[model_choice]
|
| 29 |
output1=proc1(inputs)
|
| 30 |
+
negative_prompt=negative_prompt
|
| 31 |
return(output1)
|
| 32 |
css=""""""
|
| 33 |
|