Spaces:
Runtime error
Runtime error
David Li
commited on
Commit
•
1ad8142
1
Parent(s):
a8406c7
fix: update app name
Browse files- Dockerfile +0 -6
- app.py +1 -1
Dockerfile
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
FROM python:3.9
|
2 |
-
WORKDIR /app
|
3 |
-
COPY requirements.txt .
|
4 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
-
COPY . .
|
6 |
-
CMD [ "python", "./app.py" ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -58,4 +58,4 @@ def get_video_id(url):
|
|
58 |
input_text = gr.inputs.Textbox(label="Enter a YouTube URL")
|
59 |
output_text = [gr.outputs.Textbox(label="Summary File"), gr.outputs.Textbox(label="Subtitle File")]
|
60 |
|
61 |
-
gr.Interface(fn=get_video_id, inputs=input_text, outputs=output_text, title="YouTube Video
|
|
|
58 |
input_text = gr.inputs.Textbox(label="Enter a YouTube URL")
|
59 |
output_text = [gr.outputs.Textbox(label="Summary File"), gr.outputs.Textbox(label="Subtitle File")]
|
60 |
|
61 |
+
gr.Interface(fn=get_video_id, inputs=input_text, outputs=output_text, title="YouTube Video Summarization").launch()
|