Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cvalenzuela committed Dec 29, 2017
1 parent c469e8c commit 70a5081
Show file tree
Hide file tree
Showing 8 changed files with 3,331 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This project is inspired by [Thingscoop](https://github.com/agermanidis/thingsco
### [A man sitting at a table with a plate of food](https://youtu.be/ZF5W_tcnF4s)
[![A man sitting at a table with a plate of food](static/imgs/food.png)](https://youtu.be/ZF5W_tcnF4s)

### [A group of people walking down the street](https://youtu.be/ZF5W_tcnF4s)
### [A group of people walking down the street](https://youtu.be/aaYVMsMMEjc)
[![A group of people walking down the street](static/imgs/street.png)](https://youtu.be/aaYVMsMMEjc)

## Usage
Expand Down
3 changes: 2 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from credentials import account_sid, auth_token, number, movies
client = Client(account_sid, auth_token)
NGROK_URL = '784cfa3c.ngrok.io'
NGROK_URL = '66807ec1.ngrok.io'

CWD = getcwd()

Expand Down Expand Up @@ -73,6 +73,7 @@ def async_scenescoop(file_path, video_name, client_number, MessageSid, MediaSid)
scene = make_scene(OUTPUT_VIDEOS_PATH, input_data, duration, movie, movie_data, True)

# Once the scene is created, send it.
print('Sending Message')
message = client.api.account.messages.create(
to=client_number,
from_=number,
Expand Down
3,298 changes: 3,298 additions & 0 deletions static/imgs/empty.ai

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
<button id="sceneSearch" class="Btn">Scene Search</button>
</div>

<div id="phone">
<p>Try it on a phone</p>
<h3 id="textAVideo">Text a short video to: +1 929 254-4549 </h3>
</div>


<script src="bundle.js"></script>
</body>

Expand Down
21 changes: 21 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,24 @@ input{
.show {
display:block;
}

#phone{
position: absolute;
margin-left: auto;
margin-right: auto;
left:30px;
bottom: 20px;
}

#phone p {
color: #8e8e8e;
font-size: 1.4vw;
}

#textAVideo{

color: #8e8e8e;
left: 0;
right: 0;
font-size: 2.1vw;
}
2 changes: 1 addition & 1 deletion transcripts/food.mp4.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"a bowl of food is sitting on a table ": [3, 4], "a close up of a bowl of food with broccoli": [1], "a blender filled with a mixture of vegetables ": [0], "a bowl of food that is on a table ": [2]}
{"a close up of a bowl of food with broccoli": [1], "a bowl of food that is on a table ": [2], "a blender filled with a mixture of vegetables ": [0], "a bowl of food is sitting on a table ": [3, 4]}
1 change: 1 addition & 0 deletions transcripts/people.mp4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"a group of people sitting at a table with laptops ": [1, 2, 3, 4, 5], "a group of people sitting around a table together ": [0]}
1 change: 1 addition & 0 deletions transcripts/street_short.mp4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"a group of people walking down a street ": [0, 1, 2, 3, 4, 5]}

0 comments on commit 70a5081

Please sign in to comment.