JRQi commited on
Commit
e6a0513
1 Parent(s): 6dde126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, elem_classes="feedback")
144
- interpretation1 = gr.components.Interpretation(input_text, elem_classes="feedback")
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")