Add conversation_id state to Gradio interface
Browse files
app.py
CHANGED
@@ -130,6 +130,9 @@ def check_kb_status():
|
|
130 |
|
131 |
# Create the Gradio interface
|
132 |
with gr.Blocks(title="Status Law Assistant", theme=gr.themes.Soft()) as demo:
|
|
|
|
|
|
|
133 |
gr.Markdown("# 🤖 Status Law Assistant")
|
134 |
|
135 |
with gr.Row():
|
|
|
130 |
|
131 |
# Create the Gradio interface
|
132 |
with gr.Blocks(title="Status Law Assistant", theme=gr.themes.Soft()) as demo:
|
133 |
+
# Add conversation_id state
|
134 |
+
conversation_id = gr.State(None)
|
135 |
+
|
136 |
gr.Markdown("# 🤖 Status Law Assistant")
|
137 |
|
138 |
with gr.Row():
|