heymenn commited on
Commit
e48099b
1 Parent(s): 60ecaf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -118,7 +118,8 @@ def functionCall(fi_input, dropdown, choice):
118
  return split_by_keywords(fi_input,dropdown)
119
 
120
  def change_textbox(dropdown,radio):
121
- print(dropdown)
 
122
  if radio == "Intelligent split by keywords":
123
  return gr.Dropdown(dropdown, multiselect=True, visible=True, allow_custom_value=True)
124
  else:
 
118
  return split_by_keywords(fi_input,dropdown)
119
 
120
  def change_textbox(dropdown,radio):
121
+ if dropdown is None:
122
+ dropdown = ["introduction", "objective", "summary", "conclusion"]
123
  if radio == "Intelligent split by keywords":
124
  return gr.Dropdown(dropdown, multiselect=True, visible=True, allow_custom_value=True)
125
  else: