Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -527,7 +527,7 @@ def decrypt_fn(user_id: str, user_inputs: np.ndarray) -> Dict:
|
|
527 |
with gr.Blocks() as demo:
|
528 |
|
529 |
# Step 1.1: Provide inputs
|
530 |
-
gr.Markdown("###Titanic Survival Prediction with ML and Private Computation")
|
531 |
with gr.Row():
|
532 |
inp = [
|
533 |
gr.Dropdown(["first", "second", "third"], type="index", label="Select Passenger Class"),
|
@@ -582,7 +582,7 @@ with gr.Blocks() as demo:
|
|
582 |
)
|
583 |
# # Step 2.3: Send encrypted data to the server
|
584 |
gr.Markdown(
|
585 |
-
"### Send the encrypted data to the
|
586 |
)
|
587 |
error_box4 = gr.Textbox(label="Error ❌", visible=False)
|
588 |
|
@@ -622,7 +622,7 @@ with gr.Blocks() as demo:
|
|
622 |
gr.Markdown("<hr />")
|
623 |
gr.Markdown("<span style='color:grey'>Client Side</span>")
|
624 |
gr.Markdown(
|
625 |
-
"### Get the encrypted data from the
|
626 |
)
|
627 |
|
628 |
error_box6 = gr.Textbox(label="Error ❌", visible=False)
|
|
|
527 |
with gr.Blocks() as demo:
|
528 |
|
529 |
# Step 1.1: Provide inputs
|
530 |
+
gr.Markdown("### Titanic Survival Prediction with ML and Private Computation")
|
531 |
with gr.Row():
|
532 |
inp = [
|
533 |
gr.Dropdown(["first", "second", "third"], type="index", label="Select Passenger Class"),
|
|
|
582 |
)
|
583 |
# # Step 2.3: Send encrypted data to the server
|
584 |
gr.Markdown(
|
585 |
+
"### Send the encrypted data to the Server Side"
|
586 |
)
|
587 |
error_box4 = gr.Textbox(label="Error ❌", visible=False)
|
588 |
|
|
|
622 |
gr.Markdown("<hr />")
|
623 |
gr.Markdown("<span style='color:grey'>Client Side</span>")
|
624 |
gr.Markdown(
|
625 |
+
"### Get the encrypted data from the Server Side"
|
626 |
)
|
627 |
|
628 |
error_box6 = gr.Textbox(label="Error ❌", visible=False)
|