MH0386 commited on
Commit
394ac4c
β€’
1 Parent(s): 47b0966

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +14 -12
app.py CHANGED
@@ -1,15 +1,17 @@
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")
 
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")