DominikMacko commited on
Commit
54681ce
·
verified ·
1 Parent(s): d96ac4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -32,8 +32,6 @@ with gr.Blocks(analytics_enabled=False) as demo:
32
  gr.Markdown("""
33
  ## DEMO: KInIT Multilingual Machine-Generated Text Detector
34
  Trained on [MULTITuDE](https://aclanthology.org/2023.emnlp-main.616/) (news articles) and [MultiSocial](https://arxiv.org/abs/2406.12549) (social media texts) texts in 22 languages.
35
-
36
- Funded by the EU NextGenerationEU through the Recovery and Resilience Plan for Slovakia under the project No. 09I01-03-V04-00059.
37
  """)
38
  gr.Markdown("""
39
  **Disclaimer: This is a DEMO for showcase, not the final tool. The detector is based on AI transformer model and is NOT 100% accurate! Usage is intended for research purpose only, as an indicator. Do not use it for direct decision making!**""")
@@ -42,6 +40,7 @@ Funded by the EU NextGenerationEU through the Recovery and Resilience Plan for S
42
  button1 = gr.Button("Run detection")
43
  label1 = gr.Textbox(lines=1, label='Result')
44
  score1 = gr.Textbox(lines=1, label='Probability (closer to 0 means higher probability of text being written by a human, closer to 1 means higher probability of text being generated by an AI model)')
 
45
 
46
  button1.click(predict, inputs=[t1], outputs=[label1,score1], api_name=False)
47
 
 
32
  gr.Markdown("""
33
  ## DEMO: KInIT Multilingual Machine-Generated Text Detector
34
  Trained on [MULTITuDE](https://aclanthology.org/2023.emnlp-main.616/) (news articles) and [MultiSocial](https://arxiv.org/abs/2406.12549) (social media texts) texts in 22 languages.
 
 
35
  """)
36
  gr.Markdown("""
37
  **Disclaimer: This is a DEMO for showcase, not the final tool. The detector is based on AI transformer model and is NOT 100% accurate! Usage is intended for research purpose only, as an indicator. Do not use it for direct decision making!**""")
 
40
  button1 = gr.Button("Run detection")
41
  label1 = gr.Textbox(lines=1, label='Result')
42
  score1 = gr.Textbox(lines=1, label='Probability (closer to 0 means higher probability of text being written by a human, closer to 1 means higher probability of text being generated by an AI model)')
43
+ gr.Markdown("""Funded by the EU NextGenerationEU through the Recovery and Resilience Plan for Slovakia under the project No. 09I01-03-V04-00059.""")
44
 
45
  button1.click(predict, inputs=[t1], outputs=[label1,score1], api_name=False)
46