juewang commited on
Commit
5c2bbf9
1 Parent(s): d7570a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -76,9 +76,9 @@ with col2:
76
  button_submit = st.button("Submit")
77
 
78
  if button_submit:
79
- with st.spinner(text="In progress.."):
80
- report_text = infer(
81
- prompt, model_name=model_name, max_new_tokens=max_new_tokens, temperature=temperature, top_p=top_p,
82
- num_completions=num_completions, seed=seed,
83
- )
84
- generated_area.markdown(report_text)
 
76
  button_submit = st.button("Submit")
77
 
78
  if button_submit:
79
+ with st.spinner(text="In progress.."):
80
+ report_text = infer(
81
+ prompt, model_name=model_name, max_new_tokens=max_new_tokens, temperature=temperature, top_p=top_p,
82
+ num_completions=num_completions, seed=seed,
83
+ )
84
+ generated_area.markdown(report_text)