Divyanshu04 commited on
Commit
ce82d39
·
1 Parent(s): 1cbe66a
Files changed (1) hide show
  1. app.py +2 -2
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("Reset", type="primary")
45
 
46
  if res:
47
 
@@ -71,7 +71,7 @@ def generate():
71
  return {"message": "successful"}
72
 
73
  else:
74
- return {"message": "Running.."}
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