Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
0a6b286
1
Parent(s):
4bdc439
Update app.py
Browse files
app.py
CHANGED
@@ -276,7 +276,7 @@ with gr.Blocks() as demo:
|
|
276 |
inp=CofoldingInput(label="Input")
|
277 |
hard_case = gr.Checkbox(False, label="Hard case (increase MAXCYCLE to 10)")
|
278 |
# only allow running the predictions if local
|
279 |
-
if os.environ.get("SPACE_HOST")!=
|
280 |
dry_run = gr.Checkbox(True, label="Only generate input files (dry run)", interactive=False)
|
281 |
else:
|
282 |
dry_run = gr.Checkbox(True, label="Only generate input files (dry run)")
|
|
|
276 |
inp=CofoldingInput(label="Input")
|
277 |
hard_case = gr.Checkbox(False, label="Hard case (increase MAXCYCLE to 10)")
|
278 |
# only allow running the predictions if local
|
279 |
+
if os.environ.get("SPACE_HOST")!=None:
|
280 |
dry_run = gr.Checkbox(True, label="Only generate input files (dry run)", interactive=False)
|
281 |
else:
|
282 |
dry_run = gr.Checkbox(True, label="Only generate input files (dry run)")
|