rubend18 commited on
Commit
7d0df06
·
1 Parent(s): 2fc4fea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ def get_options_by_placeholder(param):
56
  }
57
  return switcher.get(param, [])
58
 
59
- def generate_prompt():
60
- prompt = generate_sentence()
61
  return prompt
62
 
63
  value1 = gr.inputs.Radio(choices=["Humanoid", "Holdable"], label="Select the type")
 
56
  }
57
  return switcher.get(param, [])
58
 
59
+ def generate_prompt(type):
60
+ prompt = generate_sentence(type)
61
  return prompt
62
 
63
  value1 = gr.inputs.Radio(choices=["Humanoid", "Holdable"], label="Select the type")