MH0386 commited on
Commit
33e2554
β€’
1 Parent(s): de9bf07

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +12 -14
app.py CHANGED
@@ -1,17 +1,15 @@
1
- import gradio as gr
2
 
3
- with gr.Blocks() as app:
4
- gr.Text("πŸ˜€ Chatacter Alpha Version")
5
- gr.Text("This is a simple character chatting app. Now we only support Napoleon Bonaparte")
6
- gr.Button(value="Start Chatting with Napoleon Bonaparte",)
7
-
8
-
9
- app.launch()
10
 
11
- # st.title("πŸ˜€ Chatacter Alpha Version")
12
- # st.write(
13
- # "This is a simple character chatting app. Now we only support Napoleon Bonaparte"
14
- # )
15
 
16
- # if st.button("Start Chatting with Napoleon Bonaparte"):
17
- # st.switch_page("pages/napoleon.py")
 
1
+ import streamlit as st
2
 
3
+ st.set_page_config(
4
+ page_title="Chatacter",
5
+ page_icon="πŸ§‘β€πŸŽ€",
6
+ layout="wide",
7
+ )
 
 
8
 
9
+ st.title("πŸ˜€ Chatacter Alpha Version")
10
+ st.write(
11
+ "This is a simple character chatting app. Now we only support Napoleon Bonaparte"
12
+ )
13
 
14
+ if st.button("Start Chatting with Napoleon Bonaparte"):
15
+ st.switch_page("pages/napoleon.py")