Spaces:
Runtime error
Runtime error
update error msg for no input
Browse files
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 |
-
<
|
|
|
|
|
|
|
|
|
|
| 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>
|