Spaces:
Sleeping
Sleeping
Commit
·
4daeee8
1
Parent(s):
447014b
Update app.py
Browse files
app.py
CHANGED
@@ -45,41 +45,32 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
45 |
num2 = gr.Number(value=0, container=False, show_label=False, visible=False)
|
46 |
num3 = gr.Number(value=0, container=False, show_label=False, visible=False)
|
47 |
num4 = gr.Number(value=0, container=False, show_label=False, visible=False)
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
#The one with the correct or close answer win the score.
|
61 |
-
|
62 |
-
#* **Human or Machine** provides a paragraph. You (and AI) need to judge if it is written by humans or machines.
|
63 |
-
#The one with the correct or close answer win the score.
|
64 |
-
|
65 |
-
#* **Man or Woman** allows you to write a text.
|
66 |
-
#If you could successfully trick the AI into guessing the wrong gender, you get the score.
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
→ Try to write a text that will trick it into the wrong decision<br /><br />
|
80 |
-
</font>
|
81 |
'''
|
82 |
-
|
83 |
|
84 |
with gr.Tab("Like or Dislike"):
|
85 |
text_en = gr.Textbox(label="", value="en", visible=False)
|
|
|
45 |
num2 = gr.Number(value=0, container=False, show_label=False, visible=False)
|
46 |
num3 = gr.Number(value=0, container=False, show_label=False, visible=False)
|
47 |
num4 = 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 |
+
)
|
52 |
+
with gr.Row():
|
53 |
+
with gr.Column(scale=1):
|
54 |
+
placeholder = gr.Markdown(
|
55 |
+
''' ## Welcome to the Language Model Explanation Challenge!
|
56 |
+
#### Language Models are powerful AI tools to understand and generate human language.<br />
|
57 |
+
#### However, they sometimes make mistakes... and it's hard to know why!<br /><br />
|
58 |
+
#### Choose one of the tasks below ... and start to play!
|
59 |
+
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
+
)
|
62 |
+
with gr.Column(scale=1):
|
63 |
+
#logo = gr.Image('logo.png', height=230, width=600, min_width=80, show_label=False, show_share_button=False, interactive=False, container=False)
|
64 |
+
placeholder = gr.Markdown(
|
65 |
+
'''
|
66 |
+
Are *humans* or *machines* better at understanding language?<br />
|
67 |
+
→ Play a game against AI to find out!<br />
|
68 |
+
Does AI think like you or not at all?<br />
|
69 |
+
→ Check out the color highlighting to see which parts of the sentence are more important for the machine.<br />
|
70 |
+
Can you outsmart the AI?<br />
|
71 |
+
→ Try to write a text that will trick it into the wrong decision<br /><br />
|
|
|
|
|
72 |
'''
|
73 |
+
)
|
74 |
|
75 |
with gr.Tab("Like or Dislike"):
|
76 |
text_en = gr.Textbox(label="", value="en", visible=False)
|