Spaces:
Runtime error
Runtime error
arianna-bis
commited on
Commit
•
6fef1fd
1
Parent(s):
4b9d0d7
Update app.py
Browse files
app.py
CHANGED
@@ -52,25 +52,27 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
52 |
)
|
53 |
with gr.Row():
|
54 |
with gr.Column():
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
62 |
with gr.Column():
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
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)
|
|
|
52 |
)
|
53 |
with gr.Row():
|
54 |
with gr.Column():
|
55 |
+
with gr.Row():
|
56 |
+
placeholder = gr.Markdown(
|
57 |
+
'''
|
58 |
+
#### Language Models are powerful AI tools to understand and generate human language.<br />
|
59 |
+
#### However, they sometimes make mistakes... and it's hard to know why!<br /><br />
|
60 |
+
#### Choose one of the tasks below ... and start to play!
|
61 |
+
'''
|
62 |
+
)
|
63 |
with gr.Column():
|
64 |
+
with gr.Row():
|
65 |
+
#logo = gr.Image('logo.png', height=230, width=600, min_width=80, show_label=False, show_share_button=False, interactive=False, container=False)
|
66 |
+
placeholder = gr.Markdown(
|
67 |
+
'''
|
68 |
+
Are *humans* or *machines* better at understanding language?<br />
|
69 |
+
→ Play a game against AI to find out!<br />
|
70 |
+
Does AI think like you or not at all?<br />
|
71 |
+
→ Check out the color highlighting to see which parts of the sentence are more important for the machine.<br />
|
72 |
+
Can you outsmart the AI?<br />
|
73 |
→ Try to write a text that will trick it into the wrong decision<br /><br />
|
74 |
+
'''
|
75 |
+
)
|
76 |
|
77 |
with gr.Tab("Like or Dislike"):
|
78 |
text_en = gr.Textbox(label="", value="en", visible=False)
|