VsCode commited on
Commit
bee9e2b
Β·
1 Parent(s): 5707ab3

solving conflit in login function for the third time

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -40,6 +40,18 @@ async def startup_event():
40
  print("Modelo MedGemma carregado com sucesso!")
41
  except Exception as e:
42
  print(f"Erro ao carregar modelo: {e}")
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
 
45
  @app.get("/")
 
40
  print("Modelo MedGemma carregado com sucesso!")
41
  except Exception as e:
42
  print(f"Erro ao carregar modelo: {e}")
43
+ import os
44
+ import logging
45
+
46
+ SPACE_URL = "https://Edalexan-Carelink_Med_module.hf.space"
47
+
48
+ logging.basicConfig(level=logging.INFO)
49
+ logging.info("===================================")
50
+ logging.info("πŸš€ Application ready")
51
+ logging.info(f"🌐 Space URL: {SPACE_URL}")
52
+ logging.info(f"πŸ“‘ Gradio endpoint: {SPACE_URL}/run/predict")
53
+ logging.info("===================================")
54
+
55
 
56
 
57
  @app.get("/")