gabrielchua commited on
Commit
293d00a
1 Parent(s): 3d3227e

enable API - specify api_name

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,9 +138,9 @@ demo = gr.Interface(
138
  gr.Markdown(label="Transcript"),
139
  ],
140
  allow_flagging="never",
141
- api_name=False,
142
  theme=gr.themes.Soft()
143
  )
144
 
145
  if __name__ == "__main__":
146
- demo.launch()
 
138
  gr.Markdown(label="Transcript"),
139
  ],
140
  allow_flagging="never",
141
+ api_name="generate_podcast", # Add this line
142
  theme=gr.themes.Soft()
143
  )
144
 
145
  if __name__ == "__main__":
146
+ demo.launch(show_api=True) # Add show_api=True