Spaces:
Running
Running
Update app.py
#138
by
Bramso13
- opened
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(css = ".output-image, .input-image, .image-preview {height: 400px
|
|
105 |
""")
|
106 |
with gr.Row():
|
107 |
with gr.Column():
|
108 |
-
init_image = gr.Image(sources='
|
109 |
example = gr.Examples(inputs=init_image,
|
110 |
examples_per_page=4,
|
111 |
examples=[os.path.join(os.path.dirname(__file__), MODEL_MAP.get('AI Model Rouyan_0')),
|
|
|
105 |
""")
|
106 |
with gr.Row():
|
107 |
with gr.Column():
|
108 |
+
init_image = gr.Image(sources='upload', type="filepath", label="model", value=model)
|
109 |
example = gr.Examples(inputs=init_image,
|
110 |
examples_per_page=4,
|
111 |
examples=[os.path.join(os.path.dirname(__file__), MODEL_MAP.get('AI Model Rouyan_0')),
|