Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ custom_css = '''
|
|
| 131 |
'''
|
| 132 |
|
| 133 |
|
| 134 |
-
with gr.Blocks(
|
| 135 |
with gr.Row():
|
| 136 |
with gr.Column():
|
| 137 |
image = gr.Image(label="Drop an image here", sources=["upload", "clipboard"],
|
|
@@ -169,4 +169,4 @@ if __name__ == "__main__":
|
|
| 169 |
model.load()
|
| 170 |
except Exception as e:
|
| 171 |
print("Model load() raised (ok during skeleton dev):", e)
|
| 172 |
-
demo.launch()
|
|
|
|
| 131 |
'''
|
| 132 |
|
| 133 |
|
| 134 |
+
with gr.Blocks() as demo:
|
| 135 |
with gr.Row():
|
| 136 |
with gr.Column():
|
| 137 |
image = gr.Image(label="Drop an image here", sources=["upload", "clipboard"],
|
|
|
|
| 169 |
model.load()
|
| 170 |
except Exception as e:
|
| 171 |
print("Model load() raised (ok during skeleton dev):", e)
|
| 172 |
+
demo.launch(css=custom_css)
|