Spaces:
Runtime error
Runtime error
Commit
·
ce82d39
1
Parent(s):
1cbe66a
changes
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def generate():
|
|
41 |
negative_prompt = st.text_area(label = "Negative prompt", key="ng_pmpt")
|
42 |
num_samples = st.number_input("No. of samples")
|
43 |
|
44 |
-
res = st.button("
|
45 |
|
46 |
if res:
|
47 |
|
@@ -71,7 +71,7 @@ def generate():
|
|
71 |
return {"message": "successful"}
|
72 |
|
73 |
else:
|
74 |
-
|
75 |
|
76 |
|
77 |
|
|
|
41 |
negative_prompt = st.text_area(label = "Negative prompt", key="ng_pmpt")
|
42 |
num_samples = st.number_input("No. of samples")
|
43 |
|
44 |
+
res = st.button("Generate", type="primary")
|
45 |
|
46 |
if res:
|
47 |
|
|
|
71 |
return {"message": "successful"}
|
72 |
|
73 |
else:
|
74 |
+
st.write('<Enter parameters to generate image>')
|
75 |
|
76 |
|
77 |
|