pszemraj commited on
Commit
839eda3
1 Parent(s): 895976b

update error msg for no input

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -167,7 +167,10 @@ def proc_submission(
167
  # this is essentially a different case from the above
168
  msg = f"""
169
  <div style="background-color: #880808; color: white; padding: 20px;">
170
- <h3>Warning</h3>
 
 
 
171
  <p>Input text is too short to summarize. Detected {len(input_text)} characters.
172
  Please load text by selecting an example from the dropdown menu or by pasting text into the text box.</p>
173
  </div>
 
167
  # this is essentially a different case from the above
168
  msg = f"""
169
  <div style="background-color: #880808; color: white; padding: 20px;">
170
+ <br>
171
+ <img src="https://i.imgflip.com/7kadd9.jpg" alt="no text">
172
+ <br>
173
+ <h3>Error</h3>
174
  <p>Input text is too short to summarize. Detected {len(input_text)} characters.
175
  Please load text by selecting an example from the dropdown menu or by pasting text into the text box.</p>
176
  </div>