Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -96,9 +96,9 @@ css="""
|
|
96 |
"""
|
97 |
|
98 |
js="""
|
99 |
-
function
|
100 |
document.querySelector("div#prompt input").setAttribute(maxlength,"38")
|
101 |
-
}
|
102 |
"""
|
103 |
|
104 |
if torch.cuda.is_available():
|
|
|
96 |
"""
|
97 |
|
98 |
js="""
|
99 |
+
document.addEventListener("load",function(e){
|
100 |
document.querySelector("div#prompt input").setAttribute(maxlength,"38")
|
101 |
+
});
|
102 |
"""
|
103 |
|
104 |
if torch.cuda.is_available():
|