PierreBrunelle
commited on
Commit
•
a3921b9
1
Parent(s):
a77c3ea
Update app.py
Browse files
app.py
CHANGED
@@ -105,6 +105,9 @@ def gradio_interface():
|
|
105 |
gr.Markdown("""
|
106 |
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png" alt="Pixeltable" width="20%" /></img>
|
107 |
<h1>Video to Social Media Post Generator</h1>
|
|
|
|
|
|
|
108 |
"""
|
109 |
)
|
110 |
with gr.Row():
|
@@ -165,17 +168,8 @@ def gradio_interface():
|
|
165 |
outputs=[output, thumbnail, df_output, audio],
|
166 |
)
|
167 |
|
168 |
-
gr.HTML(
|
169 |
-
"""
|
170 |
-
<p>Pixeltable is a declarative interface for working with text, images, embeddings, and even video, enabling you to store, transform, index, and iterate on data. Powered solely by <a href="https://github.com/pixeltable/pixeltable" style="text-decoration: underline;" target="_blank">Pixeltable</a> - running OpenAI (gpt-4o-mini-2024-07-18).</a></p>
|
171 |
-
<p><a href="https://colab.research.google.com/github/pixeltable/pixeltable/blob/release/docs/release/tutorials/pixeltable-basics.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Colab"></a></p>
|
172 |
-
"""
|
173 |
-
)
|
174 |
return demo
|
175 |
|
176 |
# Launch the Gradio interface
|
177 |
if __name__ == "__main__":
|
178 |
-
gradio_interface().launch(show_api=False)
|
179 |
-
|
180 |
-
"""
|
181 |
-
Pixeltable simplifies complex video processing workflows and integrates AI capabilities to create a powerful tool for generating social media content from video inputs."""
|
|
|
105 |
gr.Markdown("""
|
106 |
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png" alt="Pixeltable" width="20%" /></img>
|
107 |
<h1>Video to Social Media Post Generator</h1>
|
108 |
+
Pixeltable is a declarative interface for working with text, images, embeddings, and even video, enabling you to store, transform, index, and iterate on data. Powered solely by Pixeltable, running OpenAI (gpt-4o-mini-2024-07-18).
|
109 |
+
"""
|
110 |
+
)
|
111 |
"""
|
112 |
)
|
113 |
with gr.Row():
|
|
|
168 |
outputs=[output, thumbnail, df_output, audio],
|
169 |
)
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
return demo
|
172 |
|
173 |
# Launch the Gradio interface
|
174 |
if __name__ == "__main__":
|
175 |
+
gradio_interface().launch(show_api=False)
|
|
|
|
|
|