Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,15 +107,12 @@ with gr.Blocks(css=css) as demo:
|
|
107 |
gr.Markdown("<h1>๐ฌ Drug-like Molecule Generation from PDB using ChemGPT</h1>")
|
108 |
gr.Markdown("๐งช Upload a PDB file containing mutations in the KRAS protein. The system will generate suitable SMILES drug candidates.")
|
109 |
|
110 |
-
.")
|
111 |
-
|
112 |
with gr.Row():
|
113 |
-
pdb_input = gr.File(label="๐
|
114 |
-
run_btn = gr.Button("๐
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
file_output = gr.File(label="๐ ุชุญู
ูู ู
ูู SMILES")
|
119 |
|
120 |
run_btn.click(
|
121 |
fn=generate_from_pdb,
|
|
|
107 |
gr.Markdown("<h1>๐ฌ Drug-like Molecule Generation from PDB using ChemGPT</h1>")
|
108 |
gr.Markdown("๐งช Upload a PDB file containing mutations in the KRAS protein. The system will generate suitable SMILES drug candidates.")
|
109 |
|
|
|
|
|
110 |
with gr.Row():
|
111 |
+
pdb_input = gr.File(label="๐ Upload PDB File")
|
112 |
+
run_btn = gr.Button("๐ Generate Compounds")
|
113 |
+
status = gr.Textbox(label="๐ข Status")
|
114 |
+
view3d = gr.HTML(label="๐งฌ 3D Structure Viewer")
|
115 |
+
file_output = gr.File(label="๐ Download SMILES File")
|
|
|
116 |
|
117 |
run_btn.click(
|
118 |
fn=generate_from_pdb,
|