Francesco-A commited on
Commit
571c594
·
1 Parent(s): 8e4dbc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ confidence_threshold_input = gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value
140
 
141
  intf = gr.Interface(fn=get_answers,
142
  inputs= [question_input, contexts_input, n_answers_input,full_context_input,confidence_threshold_input],
143
- outputs= gr.components.Dataframe(),
144
  examples = [[question_1,context_df,3,False,0.1],
145
  [question_2,context_df,5,True,0.1],
146
  [question_4,context_df,10,False,0.1]],
 
140
 
141
  intf = gr.Interface(fn=get_answers,
142
  inputs= [question_input, contexts_input, n_answers_input,full_context_input,confidence_threshold_input],
143
+ outputs= gr.components.Dataframe(type="pandas", row_count=5),
144
  examples = [[question_1,context_df,3,False,0.1],
145
  [question_2,context_df,5,True,0.1],
146
  [question_4,context_df,10,False,0.1]],