ModuMLTECH commited on
Commit
4736c98
·
verified ·
1 Parent(s): e3c42a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -414,12 +414,12 @@ def main():
414
  downsample = st.slider("Facteur d'échelle (plus petit = plus rapide)", 0.3, 1.0, 0.5, 0.1)
415
  conf_threshold = st.slider("Seuil de confiance", 0.1, 0.9, 0.35, 0.05)
416
 
417
- # Informations système
418
- st.subheader("💻 Informations système")
419
- device_info = f"GPU: {'Disponible' if torch.cuda.is_available() else 'Non disponible'}"
420
- if torch.cuda.is_available():
421
- device_info += f" ({torch.cuda.get_device_name(0)})"
422
- st.info(device_info)
423
 
424
  def parse_polygon(input_text):
425
  try:
 
414
  downsample = st.slider("Facteur d'échelle (plus petit = plus rapide)", 0.3, 1.0, 0.5, 0.1)
415
  conf_threshold = st.slider("Seuil de confiance", 0.1, 0.9, 0.35, 0.05)
416
 
417
+ # # Informations système
418
+ # st.subheader("💻 Informations système")
419
+ # device_info = f"GPU: {'Disponible' if torch.cuda.is_available() else 'Non disponible'}"
420
+ # if torch.cuda.is_available():
421
+ # device_info += f" ({torch.cuda.get_device_name(0)})"
422
+ # st.info(device_info)
423
 
424
  def parse_polygon(input_text):
425
  try: