Manish-4007 commited on
Commit
566ee24
·
1 Parent(s): 40e5e4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ try:
40
  topic_classifier = st.session_state.topic_model
41
  predicted_topic = suggest_topic(topic_classifier,whole_text)
42
  clk = time.time()-start
43
- if clk> 60:
44
  st.write(f'Generated in {(clk)} secs')
45
  else:
46
  st.write(f'Generated in {(clk)/60} minutes')
 
40
  topic_classifier = st.session_state.topic_model
41
  predicted_topic = suggest_topic(topic_classifier,whole_text)
42
  clk = time.time()-start
43
+ if clk < 60:
44
  st.write(f'Generated in {(clk)} secs')
45
  else:
46
  st.write(f'Generated in {(clk)/60} minutes')