Spaces:
Paused
Paused
igashov commited on
Commit ·
6727921
1
Parent(s): 752c84b
examples
Browse files
app.py
CHANGED
|
@@ -167,6 +167,7 @@ with demo:
|
|
| 167 |
examples=['examples/example_1.sdf', 'examples/example_2.sdf'],
|
| 168 |
inputs=input_file,
|
| 169 |
fn=show_input,
|
|
|
|
| 170 |
)
|
| 171 |
button = gr.Button('Generate Linker!')
|
| 172 |
gr.Markdown('')
|
|
@@ -176,7 +177,6 @@ with demo:
|
|
| 176 |
with gr.Column():
|
| 177 |
visualization = gr.HTML()
|
| 178 |
|
| 179 |
-
examples.outputs = visualization
|
| 180 |
input_file.change(
|
| 181 |
fn=show_input,
|
| 182 |
inputs=[input_file],
|
|
|
|
| 167 |
examples=['examples/example_1.sdf', 'examples/example_2.sdf'],
|
| 168 |
inputs=input_file,
|
| 169 |
fn=show_input,
|
| 170 |
+
run_on_click=True,
|
| 171 |
)
|
| 172 |
button = gr.Button('Generate Linker!')
|
| 173 |
gr.Markdown('')
|
|
|
|
| 177 |
with gr.Column():
|
| 178 |
visualization = gr.HTML()
|
| 179 |
|
|
|
|
| 180 |
input_file.change(
|
| 181 |
fn=show_input,
|
| 182 |
inputs=[input_file],
|