pdjohn commited on
Commit
7932599
·
1 Parent(s): 3a965ad

Restructure

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,18 +24,18 @@ st.markdown(
24
  """,
25
  unsafe_allow_html=True
26
  )
 
27
 
28
  # Add a description with a link to the model
29
- st.write("Tags indicators and causes in explicit attribution of causality. GER only (atm)")
30
 
31
  # Text input for sentences with italic placeholder text
32
  sentences_input = st.text_area("*Sentences (one per line)*", "\n".join([
33
- "Laub könnte verantwortlich für den Klimawandel sein.",
34
  "Fußball führt zu Waldschäden.",
35
  "Haustüren tragen zum Betonsterben bei.",
36
  ])
37
- , placeholder="Your Sentences here.")
38
- st.markdown("[Model](https://huggingface.co/norygano/causalBERT)")
39
 
40
  # Split the input text into individual sentences
41
  sentences = [sentence.strip() for sentence in sentences_input.splitlines() if sentence.strip()]
 
24
  """,
25
  unsafe_allow_html=True
26
  )
27
+ st.markdown("[Model](https://huggingface.co/norygano/causalBERT)")
28
 
29
  # Add a description with a link to the model
30
+ st.write("Tags indicators and causes of explicit attributions of causality. GER only (atm)")
31
 
32
  # Text input for sentences with italic placeholder text
33
  sentences_input = st.text_area("*Sentences (one per line)*", "\n".join([
34
+ "Autos stehen im Verdacht, Waldsterben zu verursachen.",
35
  "Fußball führt zu Waldschäden.",
36
  "Haustüren tragen zum Betonsterben bei.",
37
  ])
38
+ , placeholder="Your Sentences here.")
 
39
 
40
  # Split the input text into individual sentences
41
  sentences = [sentence.strip() for sentence in sentences_input.splitlines() if sentence.strip()]