Spaces:
Sleeping
Sleeping
Update app.py style for components
Browse files
app.py
CHANGED
|
@@ -90,8 +90,12 @@ with gr.Blocks() as chatUI:
|
|
| 90 |
agentWhiteBoard = gr.Markdown(scale = 1)
|
| 91 |
|
| 92 |
with gr.Row():
|
| 93 |
-
modelSelect = gr.Dropdown(
|
| 94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
with gr.Row():
|
| 97 |
queryInput = gr.Textbox(
|
|
@@ -106,10 +110,10 @@ with gr.Blocks() as chatUI:
|
|
| 106 |
clear = gr.ClearButton([queryInput, chatOutput])
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
-
with gr.Accordion(label = "
|
| 110 |
systemPrompt = gr.Textbox(
|
| 111 |
value = "System prompt here (null)",
|
| 112 |
-
|
| 113 |
lines = 4,
|
| 114 |
scale = 4,
|
| 115 |
)
|
|
|
|
| 90 |
agentWhiteBoard = gr.Markdown(scale = 1)
|
| 91 |
|
| 92 |
with gr.Row():
|
| 93 |
+
modelSelect = gr.Dropdown(
|
| 94 |
+
label = "Model selection:",
|
| 95 |
+
)
|
| 96 |
+
fileUpload = gr.File(
|
| 97 |
+
height = 50,
|
| 98 |
+
)
|
| 99 |
|
| 100 |
with gr.Row():
|
| 101 |
queryInput = gr.Textbox(
|
|
|
|
| 110 |
clear = gr.ClearButton([queryInput, chatOutput])
|
| 111 |
|
| 112 |
with gr.Row():
|
| 113 |
+
with gr.Accordion(label = "Expand for edit system prompt:"):
|
| 114 |
systemPrompt = gr.Textbox(
|
| 115 |
value = "System prompt here (null)",
|
| 116 |
+
show_label = False,
|
| 117 |
lines = 4,
|
| 118 |
scale = 4,
|
| 119 |
)
|