Spaces:
Build error
Build error
Update app.py
Browse files
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"
|
112 |
-
submitBtn = gr.Button("๐ Submit", background-color
|
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")
|