Spaces:
Sleeping
Sleeping
BilalSardar
commited on
Commit
•
64f62a1
1
Parent(s):
528ad26
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ gr.Interface(
|
|
120 |
fn=generate,
|
121 |
#chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, bubble_full_width=False, avatar_images=[None, "logo.jpg"]),
|
122 |
#additional_inputs=additional_inputs,
|
123 |
-
inputs=[gr.Textbox(label='Time e.g 15:30'),gr.Textbox(label='Hospital ward'),gr.Textbox(label='Patient Name'),gr.Textbox(label='Patient Number (seven digit number)'),gr.Textbox(label='Officer Name'),gr.Textbox(label='Patient Location'),gr.
|
124 |
examples=examples,
|
125 |
outputs=gr.Textbox(label='Use Of Force Report'),
|
126 |
title="Use Of Force",
|
|
|
120 |
fn=generate,
|
121 |
#chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, bubble_full_width=False, avatar_images=[None, "logo.jpg"]),
|
122 |
#additional_inputs=additional_inputs,
|
123 |
+
inputs=[gr.Textbox(label='Time e.g 15:30'),gr.Textbox(label='Hospital ward'),gr.Textbox(label='Patient Name'),gr.Textbox(label='Patient Number (seven digit number)'),gr.Textbox(label='Officer Name'),gr.Textbox(label='Patient Location'),gr.Radio(["Left Arm", "Right Arm","Legs"], type="value", label='PI Position'),gr.Textbox(label='Any Additional Information? (optional)')],
|
124 |
examples=examples,
|
125 |
outputs=gr.Textbox(label='Use Of Force Report'),
|
126 |
title="Use Of Force",
|