yasserrmd commited on
Commit
9cd74ba
1 Parent(s): 8dc1b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- output = gr.Textbox(label="Generated Explanation", lines=10)
 
 
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