Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,9 +76,9 @@ with col2:
|
|
76 |
button_submit = st.button("Submit")
|
77 |
|
78 |
if button_submit:
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
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)
|