ericwangpq commited on
Commit
57b64b0
·
1 Parent(s): b43699e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,9 +49,9 @@ def change_textbox(choice):
49
 
50
  with gr.Blocks(fill_height=True) as demo:
51
  radio = gr.Radio(
52
- ["short", "long", "none"], label="Essay Length to Write?"
53
  )
54
- text = gr.Textbox(lines=2, interactive=True,label="Disclosure")
55
  radio.change(fn=change_textbox, inputs=radio, outputs=text)
56
  chat_interface = gr.ChatInterface(predict)
57
 
 
49
 
50
  with gr.Blocks(fill_height=True) as demo:
51
  radio = gr.Radio(
52
+ ["test1", "test2", "none"], label="Disclosure Information"
53
  )
54
+ text = gr.Textbox(lines=2, interactive=False,label="Disclosure")
55
  radio.change(fn=change_textbox, inputs=radio, outputs=text)
56
  chat_interface = gr.ChatInterface(predict)
57