Spaces:
Sleeping
Sleeping
Kaelan
commited on
Commit
·
6ffb456
1
Parent(s):
ee1c5ec
errors
Browse files- public/index.html +0 -1
- src/App.js +1 -1
public/index.html
CHANGED
@@ -74,7 +74,6 @@
|
|
74 |
|
75 |
<div class="col">
|
76 |
<h1>RESULT</h1>
|
77 |
-
<img src="{{ url_for('upload') }}" width="50%" type="multipart/x-mixed-replace; boundary=frame"/>
|
78 |
<p>Video will take afew minutes or more to process. Upload images for faster processing </p>
|
79 |
{% if predictions and ft=='video': %}
|
80 |
<video class="border border-secondary" controls autoplay><source src={{saved_outout}} type="video/mp4" height='680' width='680' name={{predictions}}></video>
|
|
|
74 |
|
75 |
<div class="col">
|
76 |
<h1>RESULT</h1>
|
|
|
77 |
<p>Video will take afew minutes or more to process. Upload images for faster processing </p>
|
78 |
{% if predictions and ft=='video': %}
|
79 |
<video class="border border-secondary" controls autoplay><source src={{saved_outout}} type="video/mp4" height='680' width='680' name={{predictions}}></video>
|
src/App.js
CHANGED
@@ -77,9 +77,9 @@ function App() {
|
|
77 |
<div className='inputHolder' >
|
78 |
<form action="/upload" enctype="multipart/form-data" method="post" id='uploadform'>
|
79 |
<div class="mb-3">
|
80 |
-
<a href="https://drive.google.com/drive/folders/1Gslj0uO2CeLXsO9EhjJ0OepWWpyWb6yO?usp=sharing">Sample Pics to download</a>
|
81 |
|
82 |
<label for="formFile" class="form-label">Upload Image or Video to preview: Max(20mb/file)</label>
|
|
|
83 |
<input class="form-control" type='file' id="formFile" accepts='image/*, video/*' capture='camera' name='media'
|
84 |
onChange={uploadImage}/>
|
85 |
|
|
|
77 |
<div className='inputHolder' >
|
78 |
<form action="/upload" enctype="multipart/form-data" method="post" id='uploadform'>
|
79 |
<div class="mb-3">
|
|
|
80 |
|
81 |
<label for="formFile" class="form-label">Upload Image or Video to preview: Max(20mb/file)</label>
|
82 |
+
<a href="https://drive.google.com/drive/folders/1Gslj0uO2CeLXsO9EhjJ0OepWWpyWb6yO?usp=sharing">Sample Pics to download</a>
|
83 |
<input class="form-control" type='file' id="formFile" accepts='image/*, video/*' capture='camera' name='media'
|
84 |
onChange={uploadImage}/>
|
85 |
|