Spaces:
Sleeping
Sleeping
vickeee465
commited on
Commit
·
6940c7c
1
Parent(s):
8848961
gr.Plot
Browse files
app.py
CHANGED
|
@@ -127,13 +127,17 @@ with gr.Blocks() as demo:
|
|
| 127 |
column_widths=["65%", "25%", "10%"],
|
| 128 |
wrap=True # important
|
| 129 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
with gr.Row():
|
| 131 |
model_info = gr.Markdown()
|
| 132 |
|
| 133 |
predict_button.click(
|
| 134 |
fn=predict_wrapper,
|
| 135 |
inputs=[input_text, language_choice],
|
| 136 |
-
outputs=[result_table,
|
| 137 |
)
|
| 138 |
|
| 139 |
if __name__ == "__main__":
|
|
|
|
| 127 |
column_widths=["65%", "25%", "10%"],
|
| 128 |
wrap=True # important
|
| 129 |
)
|
| 130 |
+
|
| 131 |
+
with gr.Row():
|
| 132 |
+
plot = gr.Plot()
|
| 133 |
+
|
| 134 |
with gr.Row():
|
| 135 |
model_info = gr.Markdown()
|
| 136 |
|
| 137 |
predict_button.click(
|
| 138 |
fn=predict_wrapper,
|
| 139 |
inputs=[input_text, language_choice],
|
| 140 |
+
outputs=[result_table, plot, model_info]
|
| 141 |
)
|
| 142 |
|
| 143 |
if __name__ == "__main__":
|