Spaces:
Running
on
Zero
Running
on
Zero
HikariDawn777
commited on
Commit
•
e1f6ef4
1
Parent(s):
7d9885d
docs: update info
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ import os, shutil, sys
|
|
20 |
import urllib.request
|
21 |
import argparse
|
22 |
import imageio
|
|
|
23 |
import math
|
24 |
import cv2
|
25 |
import collections
|
@@ -71,7 +72,7 @@ MARKDOWN = \
|
|
71 |
<div align='center'>
|
72 |
<h1> This&That: Language-Gesture Controlled Video Generation for Robot Planning </h1> \
|
73 |
<h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\
|
74 |
-
<a href='https://kiteretsu77.github.io/
|
75 |
<a href='https://www.linkedin.com/in/niksridhar/'>Nikhil Sridhar</a>, \
|
76 |
<a href='https://cfeng16.github.io/'>Chao Feng</a>, \
|
77 |
<a href='https://mvandermerwe.github.io/'>Mark Van der Merwe</a>, \
|
@@ -151,6 +152,9 @@ def get_points(img, original_image, sel_pix, evt: gr.SelectData):
|
|
151 |
@spaces.GPU(duration=120)
|
152 |
def gesturenet_inference(ref_image, prompt, selected_points):
|
153 |
|
|
|
|
|
|
|
154 |
# Check some paramter, must have prompt and selected points
|
155 |
if prompt == "" or prompt is None:
|
156 |
raise gr.Error("Please input text prompt")
|
|
|
20 |
import urllib.request
|
21 |
import argparse
|
22 |
import imageio
|
23 |
+
import datetime, pytz
|
24 |
import math
|
25 |
import cv2
|
26 |
import collections
|
|
|
72 |
<div align='center'>
|
73 |
<h1> This&That: Language-Gesture Controlled Video Generation for Robot Planning </h1> \
|
74 |
<h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\
|
75 |
+
<a href='https://kiteretsu77.github.io/BoyangWang/'>Boyang Wang</a>, \
|
76 |
<a href='https://www.linkedin.com/in/niksridhar/'>Nikhil Sridhar</a>, \
|
77 |
<a href='https://cfeng16.github.io/'>Chao Feng</a>, \
|
78 |
<a href='https://mvandermerwe.github.io/'>Mark Van der Merwe</a>, \
|
|
|
152 |
@spaces.GPU(duration=120)
|
153 |
def gesturenet_inference(ref_image, prompt, selected_points):
|
154 |
|
155 |
+
|
156 |
+
print("The time now is ", datetime.datetime.now(pytz.timezone('US/Eastern')))
|
157 |
+
|
158 |
# Check some paramter, must have prompt and selected points
|
159 |
if prompt == "" or prompt is None:
|
160 |
raise gr.Error("Please input text prompt")
|