Filled height
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ with gr.Blocks(css='''
|
|
| 80 |
''') as demo:
|
| 81 |
gr.Markdown("""
|
| 82 |
<div class="dicta-header">
|
| 83 |
-
<img src="file/dicta-logo.jpg" alt="Dicta Logo" class="dicta-logo"
|
| 84 |
<div class="dicta-intro-text">
|
| 85 |
<h1>DictaLM 2.0 - Instruct Chat Demo</h1>
|
| 86 |
<p>Welcome to the interactive demo of DictaLM-2.0. Explore the capabilities of our model and see how it can assist with your tasks.</p>
|
|
@@ -89,7 +89,7 @@ with gr.Blocks(css='''
|
|
| 89 |
</div>
|
| 90 |
""")
|
| 91 |
|
| 92 |
-
interface = gr.ChatInterface(model_chat)
|
| 93 |
interface.chatbot.rtl = True
|
| 94 |
interface.textbox.placeholder = "讛讻谞住 砖讗诇讛 讘注讘专讬转 (讗讜 讘讗谞讙诇讬转!)"
|
| 95 |
interface.textbox.rtl = True
|
|
|
|
| 80 |
''') as demo:
|
| 81 |
gr.Markdown("""
|
| 82 |
<div class="dicta-header">
|
| 83 |
+
<img src="file/dicta-logo.jpg" alt="Dicta Logo" class="dicta-logo">
|
| 84 |
<div class="dicta-intro-text">
|
| 85 |
<h1>DictaLM 2.0 - Instruct Chat Demo</h1>
|
| 86 |
<p>Welcome to the interactive demo of DictaLM-2.0. Explore the capabilities of our model and see how it can assist with your tasks.</p>
|
|
|
|
| 89 |
</div>
|
| 90 |
""")
|
| 91 |
|
| 92 |
+
interface = gr.ChatInterface(model_chat, fill_height=False)
|
| 93 |
interface.chatbot.rtl = True
|
| 94 |
interface.textbox.placeholder = "讛讻谞住 砖讗诇讛 讘注讘专讬转 (讗讜 讘讗谞讙诇讬转!)"
|
| 95 |
interface.textbox.rtl = True
|