fffiloni commited on
Commit
9e2421a
1 Parent(s): 54f67a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -50,12 +50,13 @@ def infer(prompt,video_in):
50
 
51
  return final_vid
52
 
53
- with gr.Blocks() as demo:
54
- with gr.Column():
 
55
  prompt = gr.Textbox(placeholder="enter prompt")
56
  video_inp = gr.Video(source="upload", type="filepath")
57
  video_out = gr.Video()
58
- #text_out = gr.Textbox()
59
  submit_btn = gr.Button("go")
60
 
61
  inputs = [
@@ -63,7 +64,7 @@ with gr.Blocks() as demo:
63
  video_inp
64
  ]
65
  outputs = [video_out]
66
- #outputs = [text_out]
67
  submit_btn.click(infer, inputs, outputs)
68
 
69
- demo.launch().queue()
 
50
 
51
  return final_vid
52
 
53
+
54
+ with gr.Blocks(css='style.css') as demo:
55
+ with gr.Column(elem_id="col-container"):
56
  prompt = gr.Textbox(placeholder="enter prompt")
57
  video_inp = gr.Video(source="upload", type="filepath")
58
  video_out = gr.Video()
59
+
60
  submit_btn = gr.Button("go")
61
 
62
  inputs = [
 
64
  video_inp
65
  ]
66
  outputs = [video_out]
67
+
68
  submit_btn.click(infer, inputs, outputs)
69
 
70
+ demo.launch().queue(max_size=12)