commonman commited on
Commit
2ce80ff
·
1 Parent(s): a5e7848

fix incomplete function

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -56,7 +56,11 @@ iface = gr.Interface(fn=[generate_unit, get_llm_response_and_generate_unit],
56
  gr.inputs.Textbox(label="Key Concept"),
57
  gr.inputs.Textbox(label="Related Concept"),
58
  gr.inputs.Textbox(label="Global Context")]],
59
- outputs=[gr.outputs.Textbox(label="Key Concept"),
60
- gr.outputs.Textbox(label="Related Concept"),
61
- gr.outputs.Textbox(label="Global Context"),
62
- gr.outputs.Textbox(label="LLM Response")])
 
 
 
 
 
56
  gr.inputs.Textbox(label="Key Concept"),
57
  gr.inputs.Textbox(label="Related Concept"),
58
  gr.inputs.Textbox(label="Global Context")]],
59
+ outputs=[[gr.outputs.Textbox(label="Key Concept"),
60
+ gr.outputs.Textbox(label="Related Concept"),
61
+ gr.outputs.Textbox(label="Global Context")],
62
+ gr.outputs.Textbox(label="LLM Response")],
63
+ title="Unit Idea Generator (MYP Version)",
64
+ description="Step 1: Select a subject and MYP year to generate a unit idea. Step 2: Once you're satisfied with the generated unit idea, use it to generate a response from the language model.")
65
+
66
+ iface.launch()