Spaces:
Runtime error
Runtime error
fix incomplete function
Browse files
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 |
-
|
| 60 |
-
|
| 61 |
-
|
| 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()
|