Spaces:
Runtime error
Runtime error
dreamerdeo
commited on
Commit
•
5b68135
1
Parent(s):
b4db138
Update app.py
Browse files
app.py
CHANGED
@@ -100,18 +100,18 @@ prompt_examples = [
|
|
100 |
'Cách nướng cá'
|
101 |
]
|
102 |
|
103 |
-
placeholder = """
|
104 |
-
<div style="opacity: 0.5;">
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
</div>
|
109 |
-
"""
|
110 |
-
|
111 |
-
chatbot = gr.Chatbot(label='Sailor', placeholder=placeholder)
|
112 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
|
113 |
# gr.Markdown("""<center><font size=8>Sailor-Chat Bot⚓</center>""")
|
114 |
-
gr.Markdown("""<p align="center"><img src="https://github.com/sail-sg/
|
115 |
gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=css)
|
116 |
|
117 |
demo.launch() # Launching the web interface.
|
|
|
100 |
'Cách nướng cá'
|
101 |
]
|
102 |
|
103 |
+
# placeholder = """
|
104 |
+
# <div style="opacity: 0.5;">
|
105 |
+
# <img src="https://raw.githubusercontent.com/sail-sg/sailor-llm/main/misc/banner.jpg" style="width:30%;">
|
106 |
+
# <br>Sailor models are designed to understand and generate text across diverse linguistic landscapes of these SEA regions:
|
107 |
+
# <br>🇮🇩Indonesian, 🇹🇭Thai, 🇻🇳Vietnamese, 🇲🇾Malay, and 🇱🇦Lao.
|
108 |
+
# </div>
|
109 |
+
# """
|
110 |
+
|
111 |
+
# chatbot = gr.Chatbot(label='Sailor', placeholder=placeholder)
|
112 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
|
113 |
# gr.Markdown("""<center><font size=8>Sailor-Chat Bot⚓</center>""")
|
114 |
+
gr.Markdown("""<p align="center"><img src="https://github.com/sail-sg/sailor2/raw/main/misc/sailor_wide_banner.jpg" style="height: 110px"/><p>""")
|
115 |
gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=css)
|
116 |
|
117 |
demo.launch() # Launching the web interface.
|