Spaces:
Runtime error

dnasafe commited on
Commit
51b6550
·
verified ·
1 Parent(s): b2a5c65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,6 +62,7 @@ iface = gr.Interface(
62
  gr.Textbox("text", label="Decrypted Count"),
63
  gr.Textbox("text", label="Process Description")
64
  ],
 
65
  title="Paillier Encryption Demonstration",
66
  description="This app demonstrates Paillier encryption. Enter data (e.g., smokers, non-smokers) in the textbox, and the app will perform encryption and homomorphic addition.",
67
  examples=[
@@ -69,7 +70,7 @@ iface = gr.Interface(
69
  ["smokers", "non-smokers", "non-smokers", "smokers", "smokers", "non-smokers", "smokers"]
70
  ],
71
  components=[
72
- gr.Button(clear_outputs, "Clear Outputs", css_class="btn-danger"), # Apply custom style
73
  gr.Button("submit", style="success") # Submit button
74
  ]
75
  )
 
62
  gr.Textbox("text", label="Decrypted Count"),
63
  gr.Textbox("text", label="Process Description")
64
  ],
65
+ live=False, # Disable live mode
66
  title="Paillier Encryption Demonstration",
67
  description="This app demonstrates Paillier encryption. Enter data (e.g., smokers, non-smokers) in the textbox, and the app will perform encryption and homomorphic addition.",
68
  examples=[
 
70
  ["smokers", "non-smokers", "non-smokers", "smokers", "smokers", "non-smokers", "smokers"]
71
  ],
72
  components=[
73
+ gr.Button(clear_outputs, "Clear Outputs", style="danger"), # Apply custom style
74
  gr.Button("submit", style="success") # Submit button
75
  ]
76
  )