Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Harshil24
/
AI_prihars
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
40bacc2
AI_prihars
/
app.py
Harshil24
Update app.py
3002e99
over 1 year ago
raw
Copy download link
history
blame
Safe
242 Bytes
import
streamlit
as
st
def
gene
():
print
(
"hello"
)
if
st.button(
"Generate Text"
):
# When the button is clicked, call the generate_text function
generated_text = gene()
st.write(
"Generated Text:"
)
st.write(generated_text)