Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -1,15 +1,17 @@
|
|
1 |
-
import
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
8 |
|
9 |
-
st.title("π Chatacter Alpha Version")
|
10 |
-
st.write(
|
11 |
-
|
12 |
-
)
|
13 |
|
14 |
-
if st.button("Start Chatting with Napoleon Bonaparte"):
|
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")
|