GunaKoppula commited on
Commit
81fef51
·
verified ·
1 Parent(s): 4df4bed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -14
app.py CHANGED
@@ -62,18 +62,6 @@ def run(history, text, image, audio_upload, audio_mic):
62
 
63
 
64
  with gr.Blocks() as demo:
65
- gr.HTML("""
66
- <style>
67
- body {
68
- background-color: #2E2E2E;
69
- color: #FFFFFF;
70
- }
71
- .output {
72
- background-color: #1E1E1E;
73
- color: #FFFFFF;
74
- }
75
- </style>
76
- """)
77
  gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch")
78
  gr.Markdown(
79
  """This is a multimodal implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model.
@@ -90,7 +78,7 @@ with gr.Blocks() as demo:
90
  """
91
  )
92
  with gr.Row():
93
- with gr.Column(scale=4):
94
  # Creating a column with a scale of 6
95
  with gr.Box():
96
  with gr.Row():
@@ -110,7 +98,7 @@ with gr.Blocks() as demo:
110
  source="microphone", type="filepath", format="mp3"
111
  )
112
 
113
- with gr.Column(scale=8):
114
  with gr.Box():
115
  with gr.Row():
116
  chatbot = gr.Chatbot(
 
62
 
63
 
64
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
65
  gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch")
66
  gr.Markdown(
67
  """This is a multimodal implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model.
 
78
  """
79
  )
80
  with gr.Row():
81
+ with gr.Row(scale=4):
82
  # Creating a column with a scale of 6
83
  with gr.Box():
84
  with gr.Row():
 
98
  source="microphone", type="filepath", format="mp3"
99
  )
100
 
101
+ with gr.Row(scale=8):
102
  with gr.Box():
103
  with gr.Row():
104
  chatbot = gr.Chatbot(