jaothan commited on
Commit
3d07878
·
verified ·
1 Parent(s): ed9e516

Create app.py

Browse files
Files changed (1) hide show
  1. llamacpp_python/base/app.py +16 -0
llamacpp_python/base/app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # app.py
2
+ import streamlit as st
3
+
4
+ # Set the page title
5
+ st.set_page_config(page_title="Hello World App")
6
+
7
+ # Display a title
8
+ st.title("Hello, World!")
9
+
10
+ # Display a message
11
+ st.write("This is a Streamlit app that says 'Hello, World!'.")
12
+
13
+ # Add some interactivity (optional)
14
+ user_name = st.text_input("Enter your name:")
15
+ if user_name:
16
+ st.write(f"Hello, {user_name}!")