Spaces:
Runtime error
Runtime error
zfzhang-thu
commited on
Commit
·
f046265
1
Parent(s):
587ae20
hide task-to-plan
Browse files
app.py
CHANGED
|
@@ -97,16 +97,16 @@ with gr.Blocks(title='LEO Demo') as demo:
|
|
| 97 |
output.append(mask_paths[i])
|
| 98 |
return output
|
| 99 |
|
| 100 |
-
with gr.Tab("LEO Task-to-Plan"):
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
|
| 111 |
with gr.Tab("LEO Plan-to-Masks"):
|
| 112 |
gr.Interface(
|
|
|
|
| 97 |
output.append(mask_paths[i])
|
| 98 |
return output
|
| 99 |
|
| 100 |
+
# with gr.Tab("LEO Task-to-Plan"):
|
| 101 |
+
# gr.Interface(
|
| 102 |
+
# fn=leo_task_to_plan,
|
| 103 |
+
# inputs=[gr.Textbox(label="Task Description")],
|
| 104 |
+
# outputs=["text"],
|
| 105 |
+
# examples=[
|
| 106 |
+
# ["Freshen up in the bathroom."]
|
| 107 |
+
# ],
|
| 108 |
+
# title="LEO Task-to-Plan: Input task, Output plan text"
|
| 109 |
+
# )
|
| 110 |
|
| 111 |
with gr.Tab("LEO Plan-to-Masks"):
|
| 112 |
gr.Interface(
|