christopher commited on
Commit
8079e07
Β·
1 Parent(s): f6e6d9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -42,5 +42,10 @@ if st.button("πŸ”Ž Search for Tensor Ops!"):
42
  results = colab_interface.run_value_search_from_colab(i, o, c, description, settings)
43
  stdout = buf.getvalue()
44
  st.code(stdout, language='bash')
45
- for entry in ["benchmark", "count", "index", "settings", "solutions", "statistics", "total_time", "value_set", "values_by_weight"]:
46
- st.code(eval(f"results.{entry}"), language='python')
 
 
 
 
 
 
42
  results = colab_interface.run_value_search_from_colab(i, o, c, description, settings)
43
  stdout = buf.getvalue()
44
  st.code(stdout, language='bash')
45
+ st.write(dir(results.benchmark))
46
+ st.write(results.count())
47
+ st.write(results.index())
48
+ for solution in results.solution:
49
+ st.code(solution, language='python')
50
+ st.write(results.total_time)
51
+ st.code(results.statistics)