MRaudhatul commited on
Commit
f606928
·
verified ·
1 Parent(s): 71d5b97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +48 -24
app.py CHANGED
@@ -258,30 +258,54 @@ with gr.Blocks(
258
  # =================================================
259
 
260
  with gr.Tab("🏠 Home"):
261
-
262
- gr.Markdown(
263
- """
264
- ## Project Information
265
-
266
- **Project Name**
267
- - AI Image Captioning System
268
-
269
- **Student**
270
- - Muhammad Raudhatul
271
-
272
- **Model**
273
- - InstructBLIP FLAN-T5 XL
274
-
275
- **Dataset**
276
- - MS COCO 2017
277
-
278
- **Description**
279
- - Automatic image caption generation using a fine-tuned InstructBLIP model trained on the MS COCO dataset.
280
-
281
- **Deployment**
282
- - Hugging Face Spaces
283
- """
284
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
 
286
  # =================================================
287
  # PREDICTION
 
258
  # =================================================
259
 
260
  with gr.Tab("🏠 Home"):
261
+
262
+ gr.Markdown("""
263
+ ## Project Information
264
+
265
+ ### Project Name
266
+ AI Image Captioning System
267
+
268
+ ### Student
269
+ Muhammad Raudhatul
270
+
271
+ ### Model
272
+ InstructBLIP FLAN-T5 XL
273
+
274
+ ### Dataset
275
+ MS COCO 2017
276
+
277
+ ### Description
278
+ Automatic image caption generation using a fine-tuned InstructBLIP model trained on the MS COCO dataset.
279
+
280
+ ### Deployment
281
+ Hugging Face Spaces
282
+ """)
283
+
284
+ gr.Markdown("---")
285
+
286
+ with gr.Row():
287
+
288
+ gr.Number(
289
+ value=26613,
290
+ label="Training Images"
291
+ )
292
+
293
+ gr.Number(
294
+ value=2958,
295
+ label="Validation Images"
296
+ )
297
+
298
+ with gr.Row():
299
+
300
+ gr.Number(
301
+ value=133142,
302
+ label="Training Captions"
303
+ )
304
+
305
+ gr.Number(
306
+ value=14794,
307
+ label="Validation Captions"
308
+ )
309
 
310
  # =================================================
311
  # PREDICTION