Spaces:
Running
Running
refactor: polish
Browse files
app.py
CHANGED
@@ -51,7 +51,11 @@ with gr.Blocks() as demo:
|
|
51 |
|
52 |
with gr.Row():
|
53 |
gr.Textbox("Alfred said that")
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
gr_df.select(fn=get_ecg_id_from_dataframe, inputs=gr_df, outputs=ecg_id_output)
|
56 |
ecg_id_output.change(
|
57 |
fn=get_ecg_image_from_dataframe, inputs=ecg_id_output, outputs=ecg_viewer
|
|
|
51 |
|
52 |
with gr.Row():
|
53 |
gr.Textbox("Alfred said that")
|
54 |
+
|
55 |
+
with gr.Row():
|
56 |
+
alfred_result = gr.Markdown(
|
57 |
+
value="", label="Alfred said that", min_height=300, container=True
|
58 |
+
)
|
59 |
gr_df.select(fn=get_ecg_id_from_dataframe, inputs=gr_df, outputs=ecg_id_output)
|
60 |
ecg_id_output.change(
|
61 |
fn=get_ecg_image_from_dataframe, inputs=ecg_id_output, outputs=ecg_viewer
|