ancerlop commited on
Commit
5beda18
·
1 Parent(s): 98be4ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def create_interface():
132
  def fn(text, rag, prompt_template):
133
 
134
  output = process_input(text, rag, prompt_template)
135
- matches = re.findall(r"'tipo': '([^']+)'", output)
136
  classification_types = matches
137
  classification_types_options = [(option, option) for option in classification_types]
138
  classification_types_checkboxes = gr.CheckboxGroup(label="Clasificacion Tipo", choices=classification_types_options, interactive = True)
 
132
  def fn(text, rag, prompt_template):
133
 
134
  output = process_input(text, rag, prompt_template)
135
+ matches = re.findall(r"tipo: '([^']+)'", output)
136
  classification_types = matches
137
  classification_types_options = [(option, option) for option in classification_types]
138
  classification_types_checkboxes = gr.CheckboxGroup(label="Clasificacion Tipo", choices=classification_types_options, interactive = True)