Spaces:
Sleeping
Sleeping
File size: 345 Bytes
364893a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import streamlit as st
import sys
st.set_option('client.showErrorDetails', True)
def main():
try:
st.title("Test App")
st.write("Hello World!")
except Exception as e:
st.error(f"An error occurred: {str(e)}")
print(f"Error: {str(e)}", file=sys.stderr)
if __name__ == "__main__":
main() |