Shriharsh commited on
Commit
fae32eb
·
verified ·
1 Parent(s): 62b94a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -82,17 +82,19 @@ additional_inputs=[
82
  ]
83
 
84
  css = """
85
- #mkd {
86
- height: 600px;
87
- overflow: auto;
88
- border: 0.5px solid #ccc;
89
- }
 
90
  """
91
- article = "Inspired by [Skier8402](https://huggingface.co/spaces/Skier8402/mistral-super-fast)"
92
 
93
 
94
- with gr.Blocks(css=css, article=article) as demo:
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,