Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from transformers import pipeline
|
3 |
+
|
4 |
+
st.title('Gen Video Demo')
|
5 |
+
st.text('stauts: Demo')
|
6 |
+
|
7 |
+
prompt = st.text_area('Prompt')
|
8 |
+
length = st.slider('Video Length')
|
9 |
+
steps = st.slider('steps')
|
10 |
+
FPS = st.slider('frames per second')
|
11 |
+
Generate = st.button('Generate Video')
|
12 |
+
|
13 |
+
if generate:
|
14 |
+
st.text('generating video Please wait')
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
}
|
19 |
+
|
20 |
+
desc = st.text('this is a early demo this may not work on your own gpu')
|