Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,5 +55,12 @@ def get_youtube_transcript(link):
|
|
55 |
except Exception as e:
|
56 |
return f"An error has occured: {e}"
|
57 |
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
|
|
55 |
except Exception as e:
|
56 |
return f"An error has occured: {e}"
|
57 |
|
58 |
+
|
59 |
+
|
60 |
+
demo = gr.Interface(fn=get_youtube_transcript,
|
61 |
+
inputs=[gr.Textbox(label="Input youtube url to generate the summary of video", lines=6)],
|
62 |
+
outputs=[gr.Textbox(label="Summary of youtube video")],
|
63 |
+
title='Generate Video Summary',
|
64 |
+
description='This is a project to generate the summary of a video')
|
65 |
+
demo.launch(share='True')
|
66 |
|