GunaKoppula commited on
Commit
9c868d5
·
verified ·
1 Parent(s): 0332190

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -33
app.py CHANGED
@@ -66,43 +66,21 @@ def run(history, text, image, audio_upload, audio_mic):
66
 
67
  with gr.Blocks(theme='upsatwal/mlsc_tiet') as demo:
68
 
69
- gr.Text(" " * 50 + "MulitModal Phi2 Model Pretraining and Finetuning from Scratch")
 
 
 
70
 
71
- # with gr.Row() as title_row:
72
- # with gr.Column():
73
- # # Create an empty column on the left for spacing
74
- # pass
75
-
76
- # with gr.Column():
77
- # # Add Markdown with centered text
78
- # gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch")
79
- # gr.Markdown("This is a multimodal implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model. Please find the source code and training details [here](https://github.com/RaviNaik/ERA-CAPSTONE/MultiModalPhi2).")
80
 
81
 
82
- # # with gr.Column():
83
- # # # Create an empty column on the right for spacing
84
- # # pass
85
-
86
- gr.Markdown(
87
- """This is a multimodal implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model. Please find the source code and training details [here](https://github.com/RaviNaik/ERA-CAPSTONE/MultiModalPhi2).
88
-
89
- ### Details:
90
- 1. LLM Backbone: [Phi2](https://huggingface.co/microsoft/phi-2)
91
- 2. Vision Tower: [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336)
92
- 3. Audio Model: [Whisper Tiny](https://huggingface.co/openai/whisper-tiny)
93
- 4. Pretraining Dataset: [LAION-CC-SBU dataset with BLIP captions(200k samples)](https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain)
94
- 5. Finetuning Dataset: [Instruct 150k dataset based on COCO](https://huggingface.co/datasets/liuhaotian/LLaVA-Instruct-150K)
95
- 6. Finetuned Model: [GunaKoppula/Llava-Phi2](https://huggingface.co/GunaKoppula/Llava-Phi2)
96
- """
97
- )
98
 
99
- # with gr.Row(scale=8):
100
- # with gr.Box():
101
- # with gr.Row():
102
- # chatbot = gr.Chatbot(
103
- # avatar_images=("🧑", "🤖"),
104
- # height=550,
105
- # )
106
 
107
  with gr.Row():
108
  chatbot = gr.Chatbot(
 
66
 
67
  with gr.Blocks(theme='upsatwal/mlsc_tiet') as demo:
68
 
69
+ with gr.Row() as title_row:
70
+ with gr.Column():
71
+ # Create an empty column on the left for spacing
72
+ pass
73
 
74
+ with gr.Column():
75
+ # Add Markdown with centered text
76
+ gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch")
77
+ gr.Markdown("This is a multimodal implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model. Please find the source code and training details [here](https://github.com/RaviNaik/ERA-CAPSTONE/MultiModalPhi2).")
 
 
 
 
 
78
 
79
 
80
+ # with gr.Column():
81
+ # # Create an empty column on the right for spacing
82
+ # pass
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
 
 
 
 
 
 
 
84
 
85
  with gr.Row():
86
  chatbot = gr.Chatbot(