Alizhan commited on
Commit
907f7e1
·
1 Parent(s): 8deb42a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ pipe = load_pipeline()
16
  prompt = st.text_area("Мәтін енгізіңіз:", value="", height=100)
17
 
18
  # Text generation
19
- if st.button("Generate Text"):
20
  if prompt.strip():
21
  with st.spinner("Generating text..."):
22
  result = pipe(prompt, max_length=100, num_return_sequences=1)
 
16
  prompt = st.text_area("Мәтін енгізіңіз:", value="", height=100)
17
 
18
  # Text generation
19
+ if st.button("Мәтін жасалуда"):
20
  if prompt.strip():
21
  with st.spinner("Generating text..."):
22
  result = pipe(prompt, max_length=100, num_return_sequences=1)