Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,6 @@ DEFAULT_MAX_NEW_TOKENS = 1024
|
|
15 |
MAX_INPUT_TOKEN_LENGTH = 4000
|
16 |
|
17 |
|
18 |
-
if not torch.cuda.is_available():
|
19 |
-
DESCRIPTION += '\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>'
|
20 |
-
|
21 |
|
22 |
def clear_and_save_textbox(message: str) -> tuple[str, str]:
|
23 |
return '', message
|
|
|
15 |
MAX_INPUT_TOKEN_LENGTH = 4000
|
16 |
|
17 |
|
|
|
|
|
|
|
18 |
|
19 |
def clear_and_save_textbox(message: str) -> tuple[str, str]:
|
20 |
return '', message
|