Ankit8544 commited on
Commit
b82ca6d
·
verified ·
1 Parent(s): 480d2b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -69,8 +69,7 @@ iface = gr.Interface(
69
  gr.Number(label="Number of Frames", value=81),
70
  gr.Number(label="Guidance Scale", value=5.0),
71
  ],
72
- outputs=gr.File(label="Generated Video"),
73
- api_name="/predict" # <--- This exposes the correct endpoint
74
  )
75
 
76
  # Launch Gradio app in API mode
 
69
  gr.Number(label="Number of Frames", value=81),
70
  gr.Number(label="Guidance Scale", value=5.0),
71
  ],
72
+ outputs=gr.File(label="Generated Video")
 
73
  )
74
 
75
  # Launch Gradio app in API mode