Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -75,14 +75,14 @@ with col2:
|
|
75 |
)
|
76 |
|
77 |
generated_area = st.empty()
|
78 |
-
generated_area.
|
79 |
|
80 |
button_submit = st.button("Submit")
|
81 |
|
82 |
if button_submit:
|
83 |
-
generated_area.
|
84 |
report_text = infer(
|
85 |
prompt, model_name=model_name, max_new_tokens=max_new_tokens, temperature=temperature, top_p=top_p,
|
86 |
num_completions=num_completions, seed=seed, stop=literal_eval("'''"+stop+"'''"),
|
87 |
)
|
88 |
-
generated_area.
|
|
|
75 |
)
|
76 |
|
77 |
generated_area = st.empty()
|
78 |
+
generated_area.text("(Generate here)")
|
79 |
|
80 |
button_submit = st.button("Submit")
|
81 |
|
82 |
if button_submit:
|
83 |
+
generated_area.text(prompt)
|
84 |
report_text = infer(
|
85 |
prompt, model_name=model_name, max_new_tokens=max_new_tokens, temperature=temperature, top_p=top_p,
|
86 |
num_completions=num_completions, seed=seed, stop=literal_eval("'''"+stop+"'''"),
|
87 |
)
|
88 |
+
generated_area.text(prompt + report_text)
|