JRQi commited on
Commit
b96008a
·
1 Parent(s): 549d906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -28
app.py CHANGED
@@ -45,34 +45,35 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
45
  with gr.Row():
46
  num1 = gr.Number(value=0, container=False, show_label=False, visible=False)
47
  num2 = gr.Number(value=0, container=False, show_label=False, visible=False)
48
-
49
- placeholder = gr.Markdown(
50
- ''' ## Welcome to the Language Model Explanation Challenge!
51
- Language Models (LMs) are powerful AI tools to understand and generate human language.<br />
52
- However, they sometimes make mistakes... and it's hard to know why!<br /><br />
53
- Are *humans* or *machines* better at understanding language?<br />
54
- &rarr; Play a game against AI to find out!<br /><br />
55
- Does AI think like you or not at all?<br />
56
- &rarr; Check out the color highlighting to see which parts of the sentence are more important for the machine.<br /><br />
57
-
58
- Can you outsmart the AI?<br />
59
- &rarr; Try to write a text that will trick it into the wrong decision<br /><br />
60
-
61
- Choose one of the three tasks below ... and start to play!
62
- '''
63
-
64
- #* **Like or Dislike** provides a movie/food/book review. You (and AI) are required to guess its score.
65
- #The one with the correct or close answer win the score.
66
-
67
- #* **Human or Machine** provides a paragraph. You (and AI) need to judge if it is written by humans or machines.
68
- #The one with the correct or close answer win the score.
69
-
70
- #* **Man or Woman** allows you to write a text.
71
- #If you could successfully trick the AI into guessing the wrong gender, you get the score.
72
-
73
- )
74
- with gr.Column():
75
- logo = gr.Image('logo.png', height=230, width=640, min_width=80, show_label=False, show_share_button=False, interactive=False, container=False)
 
76
 
77
  gr.Markdown(
78
  ''' ## Today's Scores
 
45
  with gr.Row():
46
  num1 = gr.Number(value=0, container=False, show_label=False, visible=False)
47
  num2 = gr.Number(value=0, container=False, show_label=False, visible=False)
48
+
49
+ with gr.Column(scale=3):
50
+ placeholder = gr.Markdown(
51
+ ''' ## Welcome to the Language Model Explanation Challenge!
52
+ Language Models (LMs) are powerful AI tools to understand and generate human language.<br />
53
+ However, they sometimes make mistakes... and it's hard to know why!<br /><br />
54
+ Are *humans* or *machines* better at understanding language?<br />
55
+ &rarr; Play a game against AI to find out!<br /><br />
56
+ Does AI think like you or not at all?<br />
57
+ &rarr; Check out the color highlighting to see which parts of the sentence are more important for the machine.<br /><br />
58
+
59
+ Can you outsmart the AI?<br />
60
+ &rarr; Try to write a text that will trick it into the wrong decision<br /><br />
61
+
62
+ Choose one of the three tasks below ... and start to play!
63
+ '''
64
+
65
+ #* **Like or Dislike** provides a movie/food/book review. You (and AI) are required to guess its score.
66
+ #The one with the correct or close answer win the score.
67
+
68
+ #* **Human or Machine** provides a paragraph. You (and AI) need to judge if it is written by humans or machines.
69
+ #The one with the correct or close answer win the score.
70
+
71
+ #* **Man or Woman** allows you to write a text.
72
+ #If you could successfully trick the AI into guessing the wrong gender, you get the score.
73
+
74
+ )
75
+ with gr.Column(scale=2):
76
+ logo = gr.Image('logo.png', height=230, width=600, min_width=80, show_label=False, show_share_button=False, interactive=False, container=False)
77
 
78
  gr.Markdown(
79
  ''' ## Today's Scores