Commit History

Rename app.py to streamlit_app.py
845bab5
Running
verified

VIATEUR-AI commited on

Rename streamlit_app.py to app.py
a6b8701
verified

VIATEUR-AI commited on

Update streamlit_app.py
bfa08c2
verified

VIATEUR-AI commited on

Rename app.py to streamlit_app.py
9207b78
verified

VIATEUR-AI commited on

Update app.py
3c4ecf0
verified

VIATEUR-AI commited on

streamlit
8fe6e9a
verified

VIATEUR-AI commited on

import streamlit as st st.set_page_config(page_title="AI Robot Simulator", layout="centered") st.title("πŸ€– AI Obstacle Avoiding Robot Simulator") st.write("Simulation of Arduino AI logic using Ultrasonic Sensor distance.") # Distance Input Slider distance = st.slider("Set Distance from Obstacle (cm)", 0, 100, 50) st.subheader("πŸ“‘ Sensor Reading") st.write(f"Distance Detected: **{distance} cm**") # AI Decision Logic st.subheader("🧠 AI Decision Output") if distance > 25: st.success("AI Action: Moving Forward πŸš—") elif 10 < distance <= 25: st.warning("AI Action: Slowing Down ⚠️") else: st.error("AI Action: Stop + Turn Right πŸ”„") # Explanation st.markdown("---") st.subheader("πŸ“Œ Arduino AI Rule System") st.code(""" if distance > 25: Move Forward elif distance between 10 and 25: Slow Down else: Stop and Turn """)
8af713b
verified

VIATEUR-AI commited on

initial commit
75d9882
verified

VIATEUR-AI commited on