sreelekhaputta2 commited on
Commit
36461fb
·
verified ·
1 Parent(s): 0295a0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -1,5 +1,3 @@
1
-
2
-
3
  import gradio as gr
4
 
5
  projects = [
@@ -109,8 +107,8 @@ body {
109
  }
110
  """
111
 
112
- with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
113
- # Background Video - SINGLE PATH ONLY: bg.mp4
114
  gr.HTML("""
115
  <video autoplay muted loop id="background-video">
116
  <source src="bg.mp4" type="video/mp4">
@@ -150,9 +148,15 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
150
  value=proj["video"],
151
  label="📹 Project Demo",
152
  height=350,
153
- show_download_button=True,
154
  interactive=False,
155
  elem_classes="video-medium"
156
  )
157
 
158
- demo.launch(share=True, debug=True, height=950, show_error=True)
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
  projects = [
 
107
  }
108
  """
109
 
110
+ with gr.Blocks() as demo:
111
+ # Background Video
112
  gr.HTML("""
113
  <video autoplay muted loop id="background-video">
114
  <source src="bg.mp4" type="video/mp4">
 
148
  value=proj["video"],
149
  label="📹 Project Demo",
150
  height=350,
 
151
  interactive=False,
152
  elem_classes="video-medium"
153
  )
154
 
155
+ demo.launch(
156
+ share=True,
157
+ debug=True,
158
+ height=950,
159
+ show_error=True,
160
+ css=css,
161
+ theme=gr.themes.Soft()
162
+ )