Spaces:
Runtime error
Runtime error
import gradio as gr | |
from modeler import SfM | |
def make_model(vid_path): | |
sfm = SfM('results/', False, 'videos/vid1.mp4', 27) | |
sfm.structure_from_motion() | |
with gr.Blocks() as app: | |
inp=gr.Textbox(label="URL") | |
btn=gr.Button() | |
out=gr.Files() | |
app.launch() |