zfzhang-thu commited on
Commit
f046265
1 Parent(s): 587ae20

hide task-to-plan

Browse files
Files changed (1) hide show
  1. app.py +10 -10
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
- 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(
 
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(