Spaces:
Runtime error
Runtime error
Update inference_app.py
Browse files- inference_app.py +2 -2
inference_app.py
CHANGED
|
@@ -85,6 +85,7 @@ def run_smina(
|
|
| 85 |
],
|
| 86 |
universal_newlines=True, # needed to capture output text
|
| 87 |
)
|
|
|
|
| 88 |
return output_text
|
| 89 |
|
| 90 |
def predict (input_sequence, input_ligand, input_protein, exhaustiveness):
|
|
@@ -180,9 +181,8 @@ with gr.Blocks() as app:
|
|
| 180 |
|
| 181 |
|
| 182 |
# define any options here
|
| 183 |
-
|
| 184 |
# for automated inference the default options are used
|
| 185 |
-
exhaustiveness = gr.Slider(1,10,value=1, label="
|
| 186 |
# checkbox_option = gr.Checkbox(label="Checkbox Option")
|
| 187 |
# dropdown_option = gr.Dropdown(["Option 1", "Option 2", "Option 3"], label="Radio Option")
|
| 188 |
|
|
|
|
| 85 |
],
|
| 86 |
universal_newlines=True, # needed to capture output text
|
| 87 |
)
|
| 88 |
+
time.sleep(0.5)
|
| 89 |
return output_text
|
| 90 |
|
| 91 |
def predict (input_sequence, input_ligand, input_protein, exhaustiveness):
|
|
|
|
| 181 |
|
| 182 |
|
| 183 |
# define any options here
|
|
|
|
| 184 |
# for automated inference the default options are used
|
| 185 |
+
exhaustiveness = gr.Slider(1,10,value=1, label="Exhaustiveness")
|
| 186 |
# checkbox_option = gr.Checkbox(label="Checkbox Option")
|
| 187 |
# dropdown_option = gr.Dropdown(["Option 1", "Option 2", "Option 3"], label="Radio Option")
|
| 188 |
|