Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -182,12 +182,12 @@ Choose one of the three tasks below ... and start to play!
|
|
182 |
|
183 |
with gr.Row():
|
184 |
with gr.Column():
|
185 |
-
text_written = gr.Textbox(label="Review: ", placeholder="
|
186 |
# image_1_3 = gr.Image('icon_user.png', height=80, width=80, min_width=80, show_label=False, show_share_button=False, interactive=False)
|
187 |
slider_1_3 = gr.Slider(label="Human: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
188 |
lang_written = gr.Radio(["English", "Dutch"], label="Language:", info="In which language is the review written?")
|
189 |
chat_button_2 = gr.Button("Click to see AI's answer.", size='sm')
|
190 |
-
placeholder_written_text = gr.Textbox(label="Review
|
191 |
interpretation4 = gr.components.Interpretation(placeholder_written_text)
|
192 |
slider_1_4 = gr.Slider(label="AI: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
193 |
chatbot2 = gr.Chatbot(height=350, min_width=50, container=False) # height=300
|
|
|
182 |
|
183 |
with gr.Row():
|
184 |
with gr.Column():
|
185 |
+
text_written = gr.Textbox(label="Review: ", placeholder="Input your own review about a movie/restaurant/book.", visible=True)
|
186 |
# image_1_3 = gr.Image('icon_user.png', height=80, width=80, min_width=80, show_label=False, show_share_button=False, interactive=False)
|
187 |
slider_1_3 = gr.Slider(label="Human: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
188 |
lang_written = gr.Radio(["English", "Dutch"], label="Language:", info="In which language is the review written?")
|
189 |
chat_button_2 = gr.Button("Click to see AI's answer.", size='sm')
|
190 |
+
placeholder_written_text = gr.Textbox(label="Review: ", value="HELLO! Hallo!", visible=False)
|
191 |
interpretation4 = gr.components.Interpretation(placeholder_written_text)
|
192 |
slider_1_4 = gr.Slider(label="AI: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
193 |
chatbot2 = gr.Chatbot(height=350, min_width=50, container=False) # height=300
|