Spaces:
Sleeping
Sleeping
Commit
·
57b64b0
1
Parent(s):
b43699e
1612
Browse files
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 |
-
["
|
53 |
)
|
54 |
-
text = gr.Textbox(lines=2, interactive=
|
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 |
|