MihaiHuggingFace commited on
Commit
260ee0c
·
verified ·
1 Parent(s): f3f8b46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -43,14 +43,15 @@ def respond(
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
  demo = gr.ChatInterface(
46
- gr.HTML(f"""
47
- <div class="header">
48
- <h1 class="row">Chat with TinyMistral online!</h1>
49
- <h3 class="row">This is a 248M version of Mistral, which is quite impressive.</h3>
50
- <h3 class="row">Heck, you can even run that using LLM.js!</h3>
51
- </div>
52
- </div>
53
- """)
 
54
  respond,
55
  additional_inputs=[
56
  gr.Textbox(value="You are a friendly chatbot. Because this is a SLM (small language model) as I called it, you must be as smart as GPT-3.5. This is a 248M version of Mistral, which is quite impressive.", label="System message"),
 
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
  demo = gr.ChatInterface(
46
+ markdown = """
47
+ Chat with TinyMistral online!
48
+
49
+ This is a 248M version of Mistral, which is quite impressive.
50
+ Heck, you can even run that using LLM.js!
51
+
52
+ Have fun!
53
+ """
54
+ gr.Markdown(markdown)
55
  respond,
56
  additional_inputs=[
57
  gr.Textbox(value="You are a friendly chatbot. Because this is a SLM (small language model) as I called it, you must be as smart as GPT-3.5. This is a 248M version of Mistral, which is quite impressive.", label="System message"),