Spaces:
Sleeping
Sleeping
Miguel commited on
Commit ·
a2b8dba
1
Parent(s): 8b8a06c
Add application file
Browse files- app.py +1 -12
- requirements.txt +5 -0
app.py
CHANGED
|
@@ -62,17 +62,6 @@ with gr.Blocks() as demo:
|
|
| 62 |
btn_clear.click(clear_analysis, None, [image_input, image_output_1, image_output_2, text, text2])
|
| 63 |
|
| 64 |
|
| 65 |
-
|
| 66 |
-
#centered-elements {
|
| 67 |
-
display: flex;
|
| 68 |
-
flex-direction: column;
|
| 69 |
-
justify-content: center;
|
| 70 |
-
align-items: center;
|
| 71 |
-
height: 100vh;
|
| 72 |
-
}
|
| 73 |
-
.btn {
|
| 74 |
-
background-color: #5E17EB;
|
| 75 |
-
}
|
| 76 |
-
"""
|
| 77 |
|
| 78 |
demo.launch()
|
|
|
|
| 62 |
btn_clear.click(clear_analysis, None, [image_input, image_output_1, image_output_2, text, text2])
|
| 63 |
|
| 64 |
|
| 65 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
demo.launch()
|
requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio==3.40.0
|
| 2 |
+
Pillow==9.4.0
|
| 3 |
+
opencv-python-headless==4.8.0.74
|
| 4 |
+
matplotlib==3.7.1
|
| 5 |
+
numpy==1.24.3
|