Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,8 +140,8 @@ with gr.Blocks(theme=theme) as demo:
|
|
140 |
# gr.Markdown(''' <p style="text-align: center;"> or </p> ''')
|
141 |
sample_button_nl = gr.Button("Click to get a review in Dutch.", size='sm')
|
142 |
|
143 |
-
input_text = gr.Textbox(label="Review:", value="HELLO! Hallo!", visible=False, container=False
|
144 |
-
interpretation1 = gr.components.Interpretation(input_text
|
145 |
|
146 |
slider_1_1 = gr.Slider(label="Your rating: Dislike(0) —> Like(10)", maximum=10, step=1, container=True, min_width=200, height=80, show_label=True, interactive=True)
|
147 |
user_important = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
|
|
|
140 |
# gr.Markdown(''' <p style="text-align: center;"> or </p> ''')
|
141 |
sample_button_nl = gr.Button("Click to get a review in Dutch.", size='sm')
|
142 |
|
143 |
+
input_text = gr.Textbox(label="Review:", value="HELLO! Hallo!", visible=False, container=False)
|
144 |
+
interpretation1 = gr.components.Interpretation(input_text)
|
145 |
|
146 |
slider_1_1 = gr.Slider(label="Your rating: Dislike(0) —> Like(10)", maximum=10, step=1, container=True, min_width=200, height=80, show_label=True, interactive=True)
|
147 |
user_important = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
|