Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ def loop_function(df):
|
|
| 142 |
if i == 1:
|
| 143 |
try:
|
| 144 |
text += """
|
| 145 |
-
<div style="color:
|
| 146 |
"""
|
| 147 |
text += "<h1>As per proposal, "+key + " : "+value+"</h1>"
|
| 148 |
rr = generate_response(manual_rules, proposal_details)
|
|
@@ -211,13 +211,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 211 |
#out = gr.Textbox(lines=15, label="Compliance Result",elem_id="compliance-out")
|
| 212 |
run_btn.click(check_compliance, inputs=inp, outputs=out)
|
| 213 |
with gr.TabItem("Compliance Check of user technical doc"):
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
)
|
| 220 |
-
run_btn_tech = gr.Button("Check compliance", elem_id="compliance-btn-tech")
|
| 221 |
-
out_tech = gr.Textbox(lines=15, label="Compliance Result",elem_id="compliance-out")
|
| 222 |
-
run_btn_tech.click(check_compliance_tech, inputs=inp_tech, outputs=out_tech)
|
| 223 |
demo.queue().launch()
|
|
|
|
| 142 |
if i == 1:
|
| 143 |
try:
|
| 144 |
text += """
|
| 145 |
+
<div style="color: white !important; background: #006400 !important; padding: 10px; font-size: 14px;">
|
| 146 |
"""
|
| 147 |
text += "<h1>As per proposal, "+key + " : "+value+"</h1>"
|
| 148 |
rr = generate_response(manual_rules, proposal_details)
|
|
|
|
| 211 |
#out = gr.Textbox(lines=15, label="Compliance Result",elem_id="compliance-out")
|
| 212 |
run_btn.click(check_compliance, inputs=inp, outputs=out)
|
| 213 |
with gr.TabItem("Compliance Check of user technical doc"):
|
| 214 |
+
gr.HTML("""
|
| 215 |
+
<div style="color: white; background: black; padding: 20px; text-align: center; font-size: 24px;">
|
| 216 |
+
🚧 Coming Soon 🚧
|
| 217 |
+
</div>"""
|
| 218 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
demo.queue().launch()
|