Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,9 @@ with gr.Blocks() as demo:
|
|
| 62 |
with gr.Row():
|
| 63 |
generate_button = gr.Button("Generate Explanation")
|
| 64 |
with gr.Row():
|
| 65 |
-
|
|
|
|
|
|
|
| 66 |
|
| 67 |
generate_button.click(generate_text, inputs=[prompt_input, max_length, temperature, category_input], outputs=output)
|
| 68 |
|
|
|
|
| 62 |
with gr.Row():
|
| 63 |
generate_button = gr.Button("Generate Explanation")
|
| 64 |
with gr.Row():
|
| 65 |
+
gr.Markdown("Generated Explanation")
|
| 66 |
+
with gr.Row():
|
| 67 |
+
output = gr.Markdown("Output will generate here")
|
| 68 |
|
| 69 |
generate_button.click(generate_text, inputs=[prompt_input, max_length, temperature, category_input], outputs=output)
|
| 70 |
|