ysharma HF staff commited on
Commit
9303a45
1 Parent(s): 7a1fac7

added placeholder in chatbot

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -67,6 +67,11 @@ def model_chat(query: Optional[str], history: Optional[History], system: str
67
  ))
68
 
69
 
 
 
 
 
 
70
  with gr.Blocks() as demo:
71
  gr.Markdown("""<center><font size=8>Qwen1.5-32B-Chat</center>""")
72
 
@@ -76,7 +81,7 @@ with gr.Blocks() as demo:
76
  with gr.Column(scale=1):
77
  modify_system = gr.Button("🛠️ Set system prompt and clear the history", scale=2)
78
  system_state = gr.Textbox(value=default_system, visible=False)
79
- chatbot = gr.Chatbot(label='Qwen1.5-32B-Chat')
80
  textbox = gr.Textbox(lines=2, label='Input')
81
 
82
  with gr.Row():
 
67
  ))
68
 
69
 
70
+ placeholder = """
71
+ <img src="https://camo.githubusercontent.com/c9ae5235df8d579b955cb8829a97aaf41cfcfe20b4a955276f7eb066fa2f88d4/68747470733a2f2f7169616e77656e2d7265732e6f73732d616363656c65726174652e616c6979756e63732e636f6d2f6173736574732f626c6f672f7177656e312e352f6c6f676f5f7177656e312e352e6a7067" style="width:40%">
72
+ **Qwen1.5-32B**: Fitting the Capstone of the Qwen1.5 Language Model Series
73
+ """
74
+
75
  with gr.Blocks() as demo:
76
  gr.Markdown("""<center><font size=8>Qwen1.5-32B-Chat</center>""")
77
 
 
81
  with gr.Column(scale=1):
82
  modify_system = gr.Button("🛠️ Set system prompt and clear the history", scale=2)
83
  system_state = gr.Textbox(value=default_system, visible=False)
84
+ chatbot = gr.Chatbot(label='Qwen1.5-32B-Chat', placeholder)
85
  textbox = gr.Textbox(lines=2, label='Input')
86
 
87
  with gr.Row():