Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -82,17 +82,19 @@ additional_inputs=[
|
|
82 |
]
|
83 |
|
84 |
css = """
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
90 |
"""
|
91 |
-
|
92 |
|
93 |
|
94 |
-
with gr.Blocks(css=css
|
95 |
gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
|
|
|
96 |
gr.ChatInterface(
|
97 |
generate,
|
98 |
additional_inputs=additional_inputs,
|
|
|
82 |
]
|
83 |
|
84 |
css = """
|
85 |
+
#output-box {
|
86 |
+
height: 400px; /* Adjust the height as needed */
|
87 |
+
overflow: auto; /* Enable scrolling if content exceeds box height */
|
88 |
+
border: 1px solid #ccc; /* Add border for better visibility */
|
89 |
+
padding: 10px; /* Add padding for better spacing */
|
90 |
+
}
|
91 |
"""
|
92 |
+
article_html = "<p>Inspired by <a href='https://huggingface.co/spaces/Skier8402/mistral-super-fast'>Skier8402</a></p>"
|
93 |
|
94 |
|
95 |
+
with gr.Blocks(css=css) as demo:
|
96 |
gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
|
97 |
+
gr.HTML(article_html)
|
98 |
gr.ChatInterface(
|
99 |
generate,
|
100 |
additional_inputs=additional_inputs,
|