davidberenstein1957 HF staff commited on
Commit
ce7c64b
·
1 Parent(s): d3fc1a4

chore: show printed records

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -52,8 +52,10 @@ def process_records_gradio(records, fields, question, example_records=None):
52
  task.set_runtime_parameters(runtime_parameters)
53
 
54
  results = []
 
55
  output = task.process(inputs=[{"record": record} for record in records])
56
- for _ in range(len(records)):
 
57
  entry = next(output)[0]
58
  if entry["suggestions"]:
59
  results.append(entry["suggestions"])
 
52
  task.set_runtime_parameters(runtime_parameters)
53
 
54
  results = []
55
+ print(records[0])
56
  output = task.process(inputs=[{"record": record} for record in records])
57
+
58
+ for _ in records:
59
  entry = next(output)[0]
60
  if entry["suggestions"]:
61
  results.append(entry["suggestions"])