Cartof commited on
Commit
48b04e4
โ€ข
1 Parent(s): 2106cd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -99,8 +99,7 @@ Will not describe your needs to ChatGPT๏ผŸYou Use [ChatGPT Shortcut](https://new
99
 
100
  with gr.Blocks() as demo:
101
  gr.HTML(title)
102
- chatbot = gr.Chatbot()
103
- #chatbot = gr.Chatbot().style(color_map=("#A238FF", "#A238FF"))
104
  context = gr.State([])
105
  systemPrompt = gr.State(update_system(initial_prompt))
106
 
@@ -108,8 +107,8 @@ with gr.Blocks() as demo:
108
  with gr.Column(scale=12):
109
  txt = gr.Textbox(show_label=False, placeholder="Please enter any of your needs here").style(container=False)
110
  with gr.Column(min_width=50, scale=1):
111
- #submitBtn = gr.Button("๐Ÿš€ Submit", variant="Primary", color="#A238FF")
112
- submitBtn = gr.Button("๐Ÿš€ Submit", background-color=="#A238FF")
113
  with gr.Row():
114
  emptyBtn = gr.Button("๐Ÿงน New conversation")
115
  retryBtn = gr.Button("๐Ÿ”„ Resubmit")
 
99
 
100
  with gr.Blocks() as demo:
101
  gr.HTML(title)
102
+ chatbot = gr.Chatbot().style(color_map=("#A238FF", "#A238FF"))
 
103
  context = gr.State([])
104
  systemPrompt = gr.State(update_system(initial_prompt))
105
 
 
107
  with gr.Column(scale=12):
108
  txt = gr.Textbox(show_label=False, placeholder="Please enter any of your needs here").style(container=False)
109
  with gr.Column(min_width=50, scale=1):
110
+ #submitBtn = gr.Button("๐Ÿš€ Submit", variant="Primary")
111
+ submitBtn = gr.Button("๐Ÿš€ Submit", variant="Primary", html='<button style="background-color: red; border-color: red;">๐Ÿš€ Submit</button>')
112
  with gr.Row():
113
  emptyBtn = gr.Button("๐Ÿงน New conversation")
114
  retryBtn = gr.Button("๐Ÿ”„ Resubmit")