Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -125,8 +125,8 @@ def get_mustango(prompt):
|
|
125 |
client = Client("https://declare-lab-mustango.hf.space/")
|
126 |
result = client.predict(
|
127 |
"Hello!!", # str in 'Prompt' Textbox component
|
128 |
-
|
129 |
-
|
130 |
api_name="/predict"
|
131 |
)
|
132 |
print(result)
|
|
|
125 |
client = Client("https://declare-lab-mustango.hf.space/")
|
126 |
result = client.predict(
|
127 |
"Hello!!", # 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"
|
131 |
)
|
132 |
print(result)
|