Spaces:
Sleeping
Sleeping
fix app
Browse files
app.py
CHANGED
@@ -15,11 +15,10 @@ out_area = st.container()
|
|
15 |
|
16 |
|
17 |
def __run_pipline():
|
18 |
-
out_area.text(f"input_text: {state.input_text}\nword: {state.word}")
|
19 |
out_area.markdown(":green[Running pipline]")
|
20 |
out_area.text(pipline.chain(state.input_text))
|
21 |
|
22 |
|
23 |
in_area.text_area("input_text", key="input_text")
|
24 |
in_area.text_input("word", key="word")
|
25 |
-
in_area.button("
|
|
|
15 |
|
16 |
|
17 |
def __run_pipline():
|
|
|
18 |
out_area.markdown(":green[Running pipline]")
|
19 |
out_area.text(pipline.chain(state.input_text))
|
20 |
|
21 |
|
22 |
in_area.text_area("input_text", key="input_text")
|
23 |
in_area.text_input("word", key="word")
|
24 |
+
in_area.button("run", on_click=__run_pipline)
|