lauracabayol commited on
Commit
344a276
·
1 Parent(s): a90cf98

debuggin app

Browse files
Files changed (2) hide show
  1. pyproject.toml +0 -1
  2. temps/app.py +0 -6
pyproject.toml CHANGED
@@ -29,7 +29,6 @@ dependencies = [
29
  "astropy",
30
  "gradio",
31
  "logging",
32
- "typing"
33
  ]
34
 
35
  classifiers = [
 
29
  "astropy",
30
  "gradio",
31
  "logging",
 
32
  ]
33
 
34
  classifiers = [
temps/app.py CHANGED
@@ -3,7 +3,6 @@ import argparse
3
  import logging
4
  import sys
5
  from pathlib import Path
6
- from typing import Optional
7
 
8
  import gradio as gr
9
  import pandas as pd
@@ -17,11 +16,6 @@ logger = logging.getLogger(__name__)
17
 
18
  # Define the prediction function that will be called by Gradio
19
  def predict(input_file_path: Path, model_path: Path):
20
- logging.basicConfig(
21
- stream=sys.stdout,
22
- level=logging.INFO,
23
- format="%(levelname)s:%(message)s",
24
- )
25
 
26
  logger.info("Loading data and converting fluxes to colors")
27
 
 
3
  import logging
4
  import sys
5
  from pathlib import Path
 
6
 
7
  import gradio as gr
8
  import pandas as pd
 
16
 
17
  # Define the prediction function that will be called by Gradio
18
  def predict(input_file_path: Path, model_path: Path):
 
 
 
 
 
19
 
20
  logger.info("Loading data and converting fluxes to colors")
21