Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,15 +75,11 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
|
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column(scale=1):
|
| 78 |
-
gr.Image("https://i.ibb.co/w66DyJz/KTH.jpg", elem_id="logo-img", show_label=False, show_share_button=False, show_download_button=False)
|
| 79 |
-
with gr.Column(scale=3):
|
| 80 |
-
gr.Markdown("""C4AI Command R+
|
| 81 |
<br/><br/>
|
| 82 |
-
|
| 83 |
-
<br/>
|
| 84 |
-
**Developed by**: [Cohere](https://cohere.com/) and [Cohere for AI](https://cohere.com/research)
|
| 85 |
-
<br/>
|
| 86 |
-
**License**: [CC-BY-NC](https://cohere.com/c4ai-cc-by-nc-license), requires also adhering to [C4AI's Acceptable Use Policy](https://docs.cohere.com/docs/c4ai-acceptable-use-policy)
|
| 87 |
"""
|
| 88 |
)
|
| 89 |
|
|
@@ -92,7 +88,7 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
|
|
| 92 |
chatbot = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True)
|
| 93 |
|
| 94 |
with gr.Row():
|
| 95 |
-
user_message = gr.Textbox(lines=1, placeholder="
|
| 96 |
|
| 97 |
|
| 98 |
with gr.Row():
|
|
|
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column(scale=1):
|
| 78 |
+
gr.Image("https://i.ibb.co/w66DyJz/KTH.jpg", elem_id="logo-img", width=200, height=200, show_label=False, show_share_button=False, show_download_button=False)
|
| 79 |
+
with gr.Column(scale=3):including reasoning, summarization, and question answering.
|
| 80 |
+
gr.Markdown("""C4AI Command R+ đại khái là dùng để suy luận sẽ hay hơn là sáng tác văn thơ, viết bài kế hoạch này nọ.
|
| 81 |
<br/><br/>
|
| 82 |
+
Thôi hết rồi nói nhiêu đó thôi. KevinK.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
"""
|
| 84 |
)
|
| 85 |
|
|
|
|
| 88 |
chatbot = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True)
|
| 89 |
|
| 90 |
with gr.Row():
|
| 91 |
+
user_message = gr.Textbox(lines=1, placeholder="Hòi gì đi chứ ...", label="Nhập vào", show_label=False)
|
| 92 |
|
| 93 |
|
| 94 |
with gr.Row():
|