sanderland commited on
Commit
a2ab48a
·
1 Parent(s): 5396e2d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ if submitted:
55
  gens = command(co, prompt)
56
  recipe = gens[0].text
57
  num_tokens = len(gens[0].token_likelihoods)
58
- logger.info(f"Generated recipe with {num_tokens} tokens: {repr(recipe)}")
59
  st.markdown(f"## Recipe for {' '.join(options)} {dish}")
60
  st.write(recipe)
61
  st.markdown("## Delicious! 10/10 with rice")
 
55
  gens = command(co, prompt)
56
  recipe = gens[0].text
57
  num_tokens = len(gens[0].token_likelihoods)
58
+ logger.info(f"Generated recipe with {num_tokens} tokens in {time.time()-start:.1fs}: {repr(recipe)}")
59
  st.markdown(f"## Recipe for {' '.join(options)} {dish}")
60
  st.write(recipe)
61
  st.markdown("## Delicious! 10/10 with rice")