File size: 655 Bytes
b9e397f
d4caf59
bac290c
d4caf59
 
bac290c
b9e397f
 
fd69caf
b9e397f
 
bac290c
b9e397f
 
 
 
 
 
 
 
 
 
e857c72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import streamlit as st
from PIL import Image
st.image('endesa.jpeg', caption="Logo endesa", use_column_width=False)

# Rest of your Streamlit app
st.write("# Inicio")

# Other content of your app
st.title("plAIn")
# Add more components here
# Create a text input widget
user_input = st.text_input('Pega tu texto:', '')

# Define a function to process the input
def process_text(input_text):
    # Perform some operation on the input (e.g., convert to uppercase)
    return input_text.upper()

# Call the function with the user input
processed_output = process_text(user_input)

# Display the processed output
st.write('Texto procesado:', processed_output)