Spaces:
Runtime error
Runtime error
Commit
·
08f3fa6
1
Parent(s):
105353c
Update app.py
Browse files
app.py
CHANGED
@@ -78,12 +78,7 @@ def translate_to_english(text_to_translate):
|
|
78 |
|
79 |
# Gradio Output Model
|
80 |
with gr.Blocks() as demo:
|
81 |
-
gr.Markdown(''
|
82 |
-
## Welcome to the Chinese NLP Demo!
|
83 |
-
I'm excited to share with you some Chinese NLP models that I've developed. After searching the internet, I realized that there aren't many Chinese NLP resources available, so I hope that these models can be useful to you.
|
84 |
-
I want to acknowledge that these models are not perfect and there is still room for improvement. Due to resource limitations, there may be some limitations or errors in the models. However, I hope that you will find them useful and that you will be able to contribute to their improvement.
|
85 |
-
Please select a model tab to interact with:
|
86 |
-
''')
|
87 |
with gr.Tab("🗣️Chatbot"):
|
88 |
gr.Markdown("This is a Chinese chatbot powered by the OpenAI language model. Enter your message below in Chinese and the chatbot will respond.")
|
89 |
chatbot = gr.Chatbot()
|
|
|
78 |
|
79 |
# Gradio Output Model
|
80 |
with gr.Blocks() as demo:
|
81 |
+
gr.Markdown('Welcome to the Chinese NLP Demo! Please select a model tab to interact with:')
|
|
|
|
|
|
|
|
|
|
|
82 |
with gr.Tab("🗣️Chatbot"):
|
83 |
gr.Markdown("This is a Chinese chatbot powered by the OpenAI language model. Enter your message below in Chinese and the chatbot will respond.")
|
84 |
chatbot = gr.Chatbot()
|