80cols commited on
Commit
105a900
·
verified ·
1 Parent(s): ede387d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -34
app.py CHANGED
@@ -19,43 +19,15 @@ def key_generated():
19
  print("Keys have been generated ✅")
20
  return {gen_key_btn: gr.update(value="Keys have been generated ✅")}
21
 
22
-
23
- CSS = """
24
- #accordion-label { /* Custom styling for the Accordion title */
25
- background-color: #f0f0f0 !important; /* Set the background color to gray */
26
- }
27
-
28
- #ie_plot_output { /* Target the image output container */
29
- align-items: center;
30
- justify-content: center;
31
- margin: auto; /* Ensure it is centered */
32
- }
33
- """
34
 
35
- demo = gr.Blocks(css=CSS)#".markdown-body { font-size: 18px; }")
36
 
37
  with demo:
38
- # with gr.Row():
39
- # with gr.Column(elem_id="center_column"):
40
- # gr.Image("Img/zama.png", width=200, show_label=False)
41
- # with gr.Column(elem_id="center_column"):
42
- # gr.Image("Img/Epita.png", width=200, show_label=False)
43
- gr.Markdown(
44
- """
45
- <p align="center">
46
- <img width=200 src="https://user-images.githubusercontent.com/5758427/197816413-d9cddad3-ba38-4793-847d-120975e1da11.png">
47
- </p>
48
- """
49
- )
50
-
51
- # gr.Markdown(
52
- # f"""
53
- # <div style="display: flex; justify-content: center; align-items: center;">
54
- # <img style="margin-right: 50px;" width=200 src="https://huggingface.co/spaces/Tenefix/private-fhe-fraud-detection/resolve/main/Img/zama.png">
55
- # <img width=200 src="https://huggingface.co/spaces/Tenefix/private-fhe-fraud-detection/resolve/main/Img/Epita.png">
56
- # </div>
57
- # """
58
- # )
59
 
60
 
61
 
 
19
  print("Keys have been generated ✅")
20
  return {gen_key_btn: gr.update(value="Keys have been generated ✅")}
21
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
+ demo = gr.Blocks(css=".markdown-body { font-size: 18px; }")
24
 
25
  with demo:
26
+ with gr.Row():
27
+ with gr.Column(elem_id="center_column"):
28
+ gr.Image("Img/zama.png", width=200, show_label=False)
29
+ with gr.Column(elem_id="center_column"):
30
+ gr.Image("Img/Epita.png", width=200, show_label=False)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
 
33