Sunil Surendra Singh commited on
Commit
620969d
·
1 Parent(s): 3a35ee2

changed word count in examples

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. config.py +7 -0
app.py CHANGED
@@ -142,13 +142,13 @@ def create_interface():
142
  "Comedy",
143
  "Experimental",
144
  60,
145
- 0.4,
146
  ],
147
  [
148
  "assets/examples/teacher-school.jpg",
149
  "Surrealism",
150
  "Non-linear",
151
- 80,
152
  0.7,
153
  ],
154
  ],
 
142
  "Comedy",
143
  "Experimental",
144
  60,
145
+ 0.6,
146
  ],
147
  [
148
  "assets/examples/teacher-school.jpg",
149
  "Surrealism",
150
  "Non-linear",
151
+ 100,
152
  0.7,
153
  ],
154
  ],
config.py CHANGED
@@ -53,5 +53,12 @@ class AppConfig:
53
  "Third-Person Omniscient",
54
  ]
55
 
 
 
 
 
 
 
 
56
 
57
  app_config = AppConfig()
 
53
  "Third-Person Omniscient",
54
  ]
55
 
56
+ HF_TOKEN = "Bearer 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"
57
+ OPENAI_KEY = "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"
58
+ I2T_API_URL = (
59
+ "https://api-inference.huggingface.co/models/Sof22/image-caption-large-copy"
60
+ )
61
+ MONGO_CONN_STR = "mongodb+srv://sssingh:Topsycret1@cluster0.fcwxggj.mongodb.net/"
62
+
63
 
64
  app_config = AppConfig()