LLM_local / app2.py
omerdan03's picture
use demo chat
7da8368
raw
history blame
243 Bytes
import streamlit as st
# Title and input
st.title("Reverse Text")
input_text = st.text_input("Enter some text")
# Reverse the input text
reversed_text = input_text[::-1]
# Display the reversed text
st.write("Reversed text:", reversed_text)