Lisibonny commited on
Commit
90e8f7a
1 Parent(s): a081285

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -128,6 +128,7 @@ def main():
128
 
129
  text=df_answer.loc[i, "resumen"]
130
  inputs = tokenizer(query, text, return_tensors='tf')
 
131
  outputs = qa_model(input_ids=inputs['input_ids'], attention_mask=inputs['attention_mask'])
132
  answer_start_index = int(tf.math.argmax(outputs.start_logits, axis=-1)[0])
133
  answer_end_index = int(tf.math.argmax(outputs.end_logits, axis=-1)[0])
 
128
 
129
  text=df_answer.loc[i, "resumen"]
130
  inputs = tokenizer(query, text, return_tensors='tf')
131
+ st.write(f'Aqui {inputs}' )
132
  outputs = qa_model(input_ids=inputs['input_ids'], attention_mask=inputs['attention_mask'])
133
  answer_start_index = int(tf.math.argmax(outputs.start_logits, axis=-1)[0])
134
  answer_end_index = int(tf.math.argmax(outputs.end_logits, axis=-1)[0])