Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def home():
|
|
| 56 |
@app.route('/success' , methods = ['GET' , 'POST'])
|
| 57 |
def success():
|
| 58 |
error = ''
|
| 59 |
-
target_img = os.path.join(os.getcwd()
|
| 60 |
if request.method == 'POST':
|
| 61 |
if(request.form):
|
| 62 |
link = request.form.get('link')
|
|
|
|
| 56 |
@app.route('/success' , methods = ['GET' , 'POST'])
|
| 57 |
def success():
|
| 58 |
error = ''
|
| 59 |
+
target_img = os.path.join(os.getcwd())
|
| 60 |
if request.method == 'POST':
|
| 61 |
if(request.form):
|
| 62 |
link = request.form.get('link')
|