Spaces:
Build error
Build error
Kedar Dabhadkar
commited on
Commit
·
81cadb0
1
Parent(s):
70959da
Fix: Add server object
Browse files- fast_dash_app.py +1 -0
fast_dash_app.py
CHANGED
@@ -20,6 +20,7 @@ def generate_image(input_tiff_image: Upload) -> (Image, Image):
|
|
20 |
return input_image, output_image
|
21 |
|
22 |
app = FastDash(generate_image, port=8000)
|
|
|
23 |
|
24 |
if __name__ == "__main__":
|
25 |
app.run()
|
|
|
20 |
return input_image, output_image
|
21 |
|
22 |
app = FastDash(generate_image, port=8000)
|
23 |
+
server = app.server
|
24 |
|
25 |
if __name__ == "__main__":
|
26 |
app.run()
|