Spaces:
Sleeping
Sleeping
fix: ChatInterface examples must be list-of-lists with additional_inputs (Gradio 5.x)
Browse files
app.py
CHANGED
|
@@ -1779,14 +1779,14 @@ with gr.Blocks(
|
|
| 1779 |
type="messages",
|
| 1780 |
additional_inputs=[chunks_state, embeddings_state, analysis_state],
|
| 1781 |
examples=[
|
| 1782 |
-
"What are the main risks in this contract?",
|
| 1783 |
-
"Who are the parties involved?",
|
| 1784 |
-
"What happens if the contract is terminated?",
|
| 1785 |
-
"Are there any liability limitations?",
|
| 1786 |
-
"What are my obligations under this contract?",
|
| 1787 |
-
"Is there an arbitration clause?",
|
| 1788 |
-
"What is the governing law?",
|
| 1789 |
-
"Summarize the key terms in plain language.",
|
| 1790 |
],
|
| 1791 |
title="",
|
| 1792 |
description="",
|
|
|
|
| 1779 |
type="messages",
|
| 1780 |
additional_inputs=[chunks_state, embeddings_state, analysis_state],
|
| 1781 |
examples=[
|
| 1782 |
+
["What are the main risks in this contract?"],
|
| 1783 |
+
["Who are the parties involved?"],
|
| 1784 |
+
["What happens if the contract is terminated?"],
|
| 1785 |
+
["Are there any liability limitations?"],
|
| 1786 |
+
["What are my obligations under this contract?"],
|
| 1787 |
+
["Is there an arbitration clause?"],
|
| 1788 |
+
["What is the governing law?"],
|
| 1789 |
+
["Summarize the key terms in plain language."],
|
| 1790 |
],
|
| 1791 |
title="",
|
| 1792 |
description="",
|