Spaces:
Running
on
T4
Running
on
T4
gabrielchua
commited on
Commit
•
293d00a
1
Parent(s):
3d3227e
enable API - specify api_name
Browse files
app.py
CHANGED
@@ -138,9 +138,9 @@ demo = gr.Interface(
|
|
138 |
gr.Markdown(label="Transcript"),
|
139 |
],
|
140 |
allow_flagging="never",
|
141 |
-
api_name=
|
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
|