Spaces:
Runtime error
Runtime error
Update image.py
Browse files
image.py
CHANGED
|
@@ -432,7 +432,8 @@ def image_tab():
|
|
| 432 |
# β
NEW: LLM explanation section
|
| 433 |
llm_button = gr.Button("Explain with LLM")
|
| 434 |
llm_output = gr.Textbox(label="LLM Explanation", lines=4)
|
| 435 |
-
llm_button.click(fn=explain_with_llm, inputs=
|
|
|
|
| 436 |
|
| 437 |
|
| 438 |
def enable_manual_edit(eq_data):
|
|
|
|
| 432 |
# β
NEW: LLM explanation section
|
| 433 |
llm_button = gr.Button("Explain with LLM")
|
| 434 |
llm_output = gr.Textbox(label="LLM Explanation", lines=4)
|
| 435 |
+
llm_button.click(fn=explain_with_llm, inputs=image_equation_display, outputs=llm_output)
|
| 436 |
+
|
| 437 |
|
| 438 |
|
| 439 |
def enable_manual_edit(eq_data):
|