Spaces:
Build error
Build error
Upload main.py
Browse files
main.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from imageprocessui import ImageProcessUI
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
if __name__ == '__main__':
|
| 6 |
+
my_app = gr.Blocks()
|
| 7 |
+
img_ui = ImageProcessUI(my_app)
|
| 8 |
+
img_ui.create_application_ui()
|
| 9 |
+
img_ui.launch_ui()
|
| 10 |
+
|
| 11 |
+
|