ysharma HF Staff commited on
Commit
f0812f2
·
1 Parent(s): 119226a

update layout and headline

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -68,8 +68,11 @@ def chat(curr_system_message, history):
68
  return partial_text
69
 
70
 
 
 
 
71
  with gr.Blocks() as demo:
72
- gr.Markdown("## RedPajama-INCITE-Chat-3B-v1")
73
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/RedPajama-Chat-3B?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space to skip the queue and run in a private space</center>''')
74
  chatbot = gr.Chatbot().style(height=500)
75
  with gr.Row():
@@ -91,6 +94,7 @@ with gr.Blocks() as demo:
91
  stop.click(fn=None, inputs=None, outputs=None, cancels=[
92
  submit_event, submit_click_event], queue=False)
93
  clear.click(lambda: None, None, [chatbot], queue=False)
 
94
 
95
  demo.queue(max_size=32, concurrency_count=2)
96
  demo.launch(debug=True)
 
68
  return partial_text
69
 
70
 
71
+ title = """<h1 align="center">🔥RedPajama-INCITE-Chat-3B-v1</h1><br><h2 align="center">🏃‍♂️💨Streaming with Transformers & Gradio💪</h2>"""
72
+ description = """<h3 align="center">This is a RedPajama Chat model fine-tuned using data from Dolly 2.0 and Open Assistant over the RedPajama-INCITE-Base-3B-v1 base model.</h3>"""
73
+
74
  with gr.Blocks() as demo:
75
+ gr.HTML(title)
76
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/RedPajama-Chat-3B?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space to skip the queue and run in a private space</center>''')
77
  chatbot = gr.Chatbot().style(height=500)
78
  with gr.Row():
 
94
  stop.click(fn=None, inputs=None, outputs=None, cancels=[
95
  submit_event, submit_click_event], queue=False)
96
  clear.click(lambda: None, None, [chatbot], queue=False)
97
+ gr.HTML(description)
98
 
99
  demo.queue(max_size=32, concurrency_count=2)
100
  demo.launch(debug=True)