Spaces:
Running
Running
Commit
·
54dc2ef
1
Parent(s):
3fb89da
Update app.py
Browse files
app.py
CHANGED
@@ -464,15 +464,15 @@ trauma_image_path = os.path.join(img_directory, 'trauma.jpeg')
|
|
464 |
|
465 |
# Ahora `trauma_image_path` contiene la ruta absoluta al archivo 'trauma.jpeg'
|
466 |
|
467 |
-
IMG_FOLDER
|
468 |
-
app
|
469 |
@app .route ("/")#line:489
|
470 |
async def hello ():#line:490
|
471 |
-
O0OO00OO0O000O0O0
|
472 |
-
OO0O00OOO0O0OOO0O
|
473 |
-
O0O0OO00OO0O0O0OO
|
474 |
-
O00O0O0OOOO0OO0OO
|
475 |
-
return render_template ('especialidad.html',user_image0 =O00O0O0OOOO0OO0OO ,user_image1 =O0OO00OO0O000O0O0 ,user_image2 =OO0O00OOO0O0OOO0O ,user_image3 =O0O0OO00OO0O0O0OO )#line:495
|
476 |
@app .route ("/especialidad")#line:497
|
477 |
async def especialidad ():#line:498
|
478 |
O00OO0O0OO0OO0O0O =os .path .join (app .config ['UPLOAD_FOLDER'],'trauma.jpeg')#line:499
|
|
|
464 |
|
465 |
# Ahora `trauma_image_path` contiene la ruta absoluta al archivo 'trauma.jpeg'
|
466 |
|
467 |
+
IMG_FOLDER=os.path.join ('static','IMG')#line:486
|
468 |
+
app.config['UPLOAD_FOLDER']=IMG_FOLDER #line:487
|
469 |
@app .route ("/")#line:489
|
470 |
async def hello ():#line:490
|
471 |
+
O0OO00OO0O000O0O0=os.path.join(img_directory, 'trauma.jpeg')#line:491
|
472 |
+
OO0O00OOO0O0OOO0O=os.path.join(app.config ['UPLOAD_FOLDER'],'uro.jpeg')#line:492
|
473 |
+
O0O0OO00OO0O0O0OO=os.path.join(app.config ['UPLOAD_FOLDER'],'adm.jpeg')#line:493
|
474 |
+
O00O0O0OOOO0OO0OO=os.path.join(app.config ['UPLOAD_FOLDER'],'tijerass.png')#line:494
|
475 |
+
return render_template ('templates/especialidad.html',user_image0 =O00O0O0OOOO0OO0OO ,user_image1 =O0OO00OO0O000O0O0 ,user_image2 =OO0O00OOO0O0OOO0O ,user_image3 =O0O0OO00OO0O0O0OO )#line:495
|
476 |
@app .route ("/especialidad")#line:497
|
477 |
async def especialidad ():#line:498
|
478 |
O00OO0O0OO0OO0O0O =os .path .join (app .config ['UPLOAD_FOLDER'],'trauma.jpeg')#line:499
|