GunaKoppula commited on
Commit
dafd76d
·
verified ·
1 Parent(s): e2f50d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
2
  from PIL import Image
3
  from inference.main import MultiModalPhi2
4
 
 
 
5
  messages = []
6
 
7
  multimodal_phi2 = MultiModalPhi2(
@@ -61,7 +63,13 @@ def run(history, text, image, audio_upload, audio_mic):
61
  return history, None, None, None, None
62
 
63
 
64
- with gr.Blocks() as demo:
 
 
 
 
 
 
65
  gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch", justify="center")
66
 
67
  # with gr.Row() as title_row:
 
2
  from PIL import Image
3
  from inference.main import MultiModalPhi2
4
 
5
+ gr.themes.builder()
6
+
7
  messages = []
8
 
9
  multimodal_phi2 = MultiModalPhi2(
 
63
  return history, None, None, None, None
64
 
65
 
66
+ theme = gr.themes.Default(primary_hue="blue").set(
67
+ loader_color="#FF0000",
68
+ slider_color="#FF0000",
69
+ )
70
+
71
+
72
+ with gr.Blocks(theme=theme) as demo:
73
  gr.Markdown("## MulitModal Phi2 Model Pretraining and Finetuning from Scratch", justify="center")
74
 
75
  # with gr.Row() as title_row: