Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def get_riffusion(prompt):
|
|
| 124 |
def get_mustango(prompt):
|
| 125 |
client = Client("https://declare-lab-mustango.hf.space/")
|
| 126 |
result = client.predict(
|
| 127 |
-
|
| 128 |
200, # float (numeric value between 100 and 200) in 'Steps' Slider component
|
| 129 |
3, # float (numeric value between 1 and 10) in 'Guidance Scale' Slider component
|
| 130 |
api_name="/predict"
|
|
|
|
| 124 |
def get_mustango(prompt):
|
| 125 |
client = Client("https://declare-lab-mustango.hf.space/")
|
| 126 |
result = client.predict(
|
| 127 |
+
prompt, # str in 'Prompt' Textbox component
|
| 128 |
200, # float (numeric value between 100 and 200) in 'Steps' Slider component
|
| 129 |
3, # float (numeric value between 1 and 10) in 'Guidance Scale' Slider component
|
| 130 |
api_name="/predict"
|