jbilcke-hf HF staff fffiloni commited on
Commit
12e4a4d
1 Parent(s): 327e1e8

add api name endpoint (#2)

Browse files

- add api name endpoint (b4ba5dff8dcc47e3647b75be5e2375ddb086ac03)


Co-authored-by: Sylvain Filoni <[email protected]>

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -160,7 +160,9 @@ with gr.Blocks(css=css) as demo:
160
 
161
  submit_btn.click(fn=infer,
162
  inputs=[prompt_in, video_in, denoise_strength],
163
- outputs=[video_result, share_group])
 
 
164
 
165
  share_button.click(None, [], [], _js=share_js)
166
 
 
160
 
161
  submit_btn.click(fn=infer,
162
  inputs=[prompt_in, video_in, denoise_strength],
163
+ outputs=[video_result, share_group],
164
+ api_name="zero_xl"
165
+ )
166
 
167
  share_button.click(None, [], [], _js=share_js)
168