Spaces:
Sleeping
Sleeping
fix: app.py
Browse files
app.py
CHANGED
|
@@ -1823,7 +1823,8 @@ with gr.Blocks(
|
|
| 1823 |
doc_html, obligations_html, compliance_html, redlining_html,
|
| 1824 |
json_file, csv_file, status_msg, analysis_state,
|
| 1825 |
chunks_state, embeddings_state, chatbot_index_status,
|
| 1826 |
-
]
|
|
|
|
| 1827 |
)
|
| 1828 |
|
| 1829 |
clear_btn.click(
|
|
@@ -1839,7 +1840,8 @@ with gr.Blocks(
|
|
| 1839 |
comp_btn.click(
|
| 1840 |
run_comparison,
|
| 1841 |
inputs=[comp_text_a, comp_text_b],
|
| 1842 |
-
outputs=[comp_result_html, comp_json]
|
|
|
|
| 1843 |
)
|
| 1844 |
|
| 1845 |
gr.HTML("""
|
|
|
|
| 1823 |
doc_html, obligations_html, compliance_html, redlining_html,
|
| 1824 |
json_file, csv_file, status_msg, analysis_state,
|
| 1825 |
chunks_state, embeddings_state, chatbot_index_status,
|
| 1826 |
+
],
|
| 1827 |
+
api_name="analyze",
|
| 1828 |
)
|
| 1829 |
|
| 1830 |
clear_btn.click(
|
|
|
|
| 1840 |
comp_btn.click(
|
| 1841 |
run_comparison,
|
| 1842 |
inputs=[comp_text_a, comp_text_b],
|
| 1843 |
+
outputs=[comp_result_html, comp_json],
|
| 1844 |
+
api_name="compare",
|
| 1845 |
)
|
| 1846 |
|
| 1847 |
gr.HTML("""
|