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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -70,6 +70,7 @@ iface = gr.Interface(
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
 
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