Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def process_and_generate_post(video_file, social_media_type, progress=gr.Progres
|
|
56 |
]
|
57 |
|
58 |
# Apply the UDF to create a new column
|
59 |
-
t
|
60 |
|
61 |
"""## Generating Responses with OpenAI's GPT Model"""
|
62 |
|
@@ -114,7 +114,7 @@ import gradio as gr
|
|
114 |
def gradio_interface():
|
115 |
with gr.Blocks(theme=gr.themes.Base()) as demo:
|
116 |
gr.Markdown("""
|
117 |
-
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/
|
118 |
<h1>Video to Social Media Post Generator</h1>
|
119 |
"""
|
120 |
)
|
|
|
56 |
]
|
57 |
|
58 |
# Apply the UDF to create a new column
|
59 |
+
t.add_computed_column(message=prompt(t.sm_type, t.transcription_text))
|
60 |
|
61 |
"""## Generating Responses with OpenAI's GPT Model"""
|
62 |
|
|
|
114 |
def gradio_interface():
|
115 |
with gr.Blocks(theme=gr.themes.Base()) as demo:
|
116 |
gr.Markdown("""
|
117 |
+
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/resources/pixeltable-logo-large.png" alt="Pixeltable" width="20%" /></img>
|
118 |
<h1>Video to Social Media Post Generator</h1>
|
119 |
"""
|
120 |
)
|