mkoot007 commited on
Commit
7f78171
·
1 Parent(s): 34237fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -1
app.py CHANGED
@@ -27,7 +27,26 @@ from transformers import BlenderbotTokenizer, BlenderbotForConditionalGeneration
27
 
28
  DESCRIPTION = "This Application is developed just for Education purpose"
29
  LICENSE = "All Rights are Reserved to the Owner, Regards Mkoot"
30
- custom_css = "style.css"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  tokenizer = BlenderbotTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
33
  model = BlenderbotForConditionalGeneration.from_pretrained("facebook/blenderbot-400M-distill")
 
27
 
28
  DESCRIPTION = "This Application is developed just for Education purpose"
29
  LICENSE = "All Rights are Reserved to the Owner, Regards Mkoot"
30
+ custom_css = """body {
31
+ background-image: url('BK.jpg');
32
+ background-size: cover;
33
+ }
34
+
35
+ input[type="text"] {
36
+ background-color: #f2f2f2;
37
+ color: #333;
38
+ border: 1px solid #ccc;
39
+ border-radius: 5px;
40
+ }
41
+
42
+ button {
43
+ background-color: #007bff;
44
+ color: #fff;
45
+ border: none;
46
+ border-radius: 5px;
47
+ padding: 10px 20px;
48
+ cursor: pointer;
49
+ }"""
50
 
51
  tokenizer = BlenderbotTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
52
  model = BlenderbotForConditionalGeneration.from_pretrained("facebook/blenderbot-400M-distill")