Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as interface:
|
|
54 |
# when clicked. The clear_gradio_component button
|
55 |
# is used to clear the input field.
|
56 |
with gr.Tab("Context"):
|
57 |
-
context_gradio_component = gr.Textbox(label="Context", lines=10)
|
58 |
set_context_gradio_component = gr.Button("Set")
|
59 |
clear_gradio_component = gr.ClearButton([context_gradio_component])
|
60 |
|
|
|
54 |
# when clicked. The clear_gradio_component button
|
55 |
# is used to clear the input field.
|
56 |
with gr.Tab("Context"):
|
57 |
+
context_gradio_component = gr.Textbox(label="Context", info="your context must be <= 512 tokens!", lines=10)
|
58 |
set_context_gradio_component = gr.Button("Set")
|
59 |
clear_gradio_component = gr.ClearButton([context_gradio_component])
|
60 |
|