Spaces:
Sleeping
Sleeping
Update app.py add placeholder features
Browse files
app.py
CHANGED
|
@@ -89,6 +89,10 @@ with gr.Blocks() as chatUI:
|
|
| 89 |
)
|
| 90 |
agentWhiteBoard = gr.Markdown(scale = 1)
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
with gr.Row():
|
| 93 |
queryInput = gr.Textbox(
|
| 94 |
placeholder = "Please enter you question or request here...",
|
|
@@ -102,7 +106,15 @@ with gr.Blocks() as chatUI:
|
|
| 102 |
clear = gr.ClearButton([queryInput, chatOutput])
|
| 103 |
|
| 104 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
|
|
|
| 106 |
footer = gr.HTML("<div class='footer'>" + selected_model + "</div>"),
|
| 107 |
|
| 108 |
# gr.State()
|
|
|
|
| 89 |
)
|
| 90 |
agentWhiteBoard = gr.Markdown(scale = 1)
|
| 91 |
|
| 92 |
+
with gr.Row():
|
| 93 |
+
modelSelect = gr.Dropdown()
|
| 94 |
+
fileUpload = gr.File()
|
| 95 |
+
|
| 96 |
with gr.Row():
|
| 97 |
queryInput = gr.Textbox(
|
| 98 |
placeholder = "Please enter you question or request here...",
|
|
|
|
| 106 |
clear = gr.ClearButton([queryInput, chatOutput])
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
+
with gr.Acordian():
|
| 110 |
+
systemPrompt = gr.Textbox(
|
| 111 |
+
value = "System prompt here (null)",
|
| 112 |
+
labe = "System prompt",
|
| 113 |
+
lines = 4
|
| 114 |
+
scale = 4
|
| 115 |
+
)
|
| 116 |
|
| 117 |
+
with gr.Row():
|
| 118 |
footer = gr.HTML("<div class='footer'>" + selected_model + "</div>"),
|
| 119 |
|
| 120 |
# gr.State()
|