alamin655 commited on
Commit
ef71177
1 Parent(s): 349269c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -74,14 +74,6 @@ custom_css = """
74
  }
75
  """
76
 
77
- PLACEHOLDER = """
78
- <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
79
- <img src="https://txt.cohere.com/content/images/size/w2000/2024/04/r--Blog-Header.png" style="width: 80%; max-width: 450px; height: auto; opacity: 0.55; margin-bottom: 10px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);">
80
- <h1 style="font-size: 28px; margin-bottom: 2px; color: #000; opacity: 0.55;">Command R+ Chatbot</h1>
81
- <p style="font-size: 18px; margin-bottom: 2px; color: #000; opacity: 0.65;">Ask me anything...</p>
82
- </div>
83
- """
84
-
85
  with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
86
  cid = gr.State("")
87
 
@@ -101,8 +93,8 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
101
 
102
  with gr.Column():
103
  with gr.Row():
104
- chatbot = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, placeholder=PLACEHOLDER)
105
-
106
  with gr.Row():
107
  user_message = gr.Textbox(lines=1, placeholder="Ask anything ...", label="Input", show_label=False)
108
 
 
74
  }
75
  """
76
 
 
 
 
 
 
 
 
 
77
  with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
78
  cid = gr.State("")
79
 
 
93
 
94
  with gr.Column():
95
  with gr.Row():
96
+ chatbot = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True)
97
+
98
  with gr.Row():
99
  user_message = gr.Textbox(lines=1, placeholder="Ask anything ...", label="Input", show_label=False)
100