EmaadKhwaja
commited on
Commit
•
967b26e
1
Parent(s):
cbeaab6
remove default
Browse files
app.py
CHANGED
@@ -88,7 +88,6 @@ with gr.Blocks() as demo:
|
|
88 |
|
89 |
with gr.Row().style(equal_height=True):
|
90 |
nucleus_image = gr.Image(
|
91 |
-
value="https://huggingface.co/spaces/HuangLab/CELL-E_2/resolve/main/images/Armadillo%20repeat-containing%20X-linked%20protein%205%20nucleus.jpg",
|
92 |
type="pil",
|
93 |
label="Nucleus Image",
|
94 |
image_mode="L",
|
@@ -125,20 +124,4 @@ with gr.Blocks() as demo:
|
|
125 |
|
126 |
button.click(gradio_demo, inputs, outputs)
|
127 |
|
128 |
-
examples = [
|
129 |
-
[
|
130 |
-
"CELL-E_2_HPA_Finetuned_480",
|
131 |
-
"MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTLVTTFSYGVQCFSRYPDHMKQHDFFKSAMPEGYVQERTIFFKDDGNYKTRAEVKFEGDTLVNRIELKGIDFKEDGNILGHKLEYNYNSHNVYIMADKQKNGIKVNFKIRHNIEDGSVQLADHYQQNTPIGDGPVLLPDNHYLSTQSALSKDPNEKRDHMVLLEFVTAAGITHGMDELYK",
|
132 |
-
"images/Proteasome activator complex subunit 3 nucleus.png",
|
133 |
-
"images/Proteasome activator complex subunit 3 protein.png",
|
134 |
-
],
|
135 |
-
[
|
136 |
-
"CELL-E_2_HPA_480",
|
137 |
-
"MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTLVTTFSYGVQCFSRYPDHMKQHDFFKSAMPEGYVQERTIFFKDDGNYKTRAEVKFEGDTLVNRIELKGIDFKEDGNILGHKLEYNYNSHNVYIMADKQKNGIKVNFKIRHNIEDGSVQLADHYQQNTPIGDGPVLLPDNHYLSTQSALSKDPNEKRDHMVLLEFVTAAGITHGMDELYK",
|
138 |
-
"images/Armadillo repeat-containing X-linked protein 5 nucleus.jpg",
|
139 |
-
"images/Armadillo repeat-containing X-linked protein 5 protein.jpg",
|
140 |
-
],
|
141 |
-
]
|
142 |
-
|
143 |
-
# demo = gr.Interface(gradio_demo, inputs, outputs, examples, cache_examples=True, layout = layout)
|
144 |
demo.launch(share=True)
|
|
|
88 |
|
89 |
with gr.Row().style(equal_height=True):
|
90 |
nucleus_image = gr.Image(
|
|
|
91 |
type="pil",
|
92 |
label="Nucleus Image",
|
93 |
image_mode="L",
|
|
|
124 |
|
125 |
button.click(gradio_demo, inputs, outputs)
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
demo.launch(share=True)
|