shpotes commited on
Commit
aa97273
·
1 Parent(s): f6d9b88

improve front-end

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,8 +61,8 @@ def run_inference(image_path, text, model, tokenizer):
61
 
62
  tokenizer, model = load_tokenizer_and_model()
63
  st.title("Diagnosis Scoring")
64
- uploaded_file = st.file_uploader("Choose an image...", type=["png", "jpg"])
65
- text_input = st.text_input("Type a diagnosis")
66
  if uploaded_file is not None and text_input:
67
  local_image_path = None
68
  try:
 
61
 
62
  tokenizer, model = load_tokenizer_and_model()
63
  st.title("Diagnosis Scoring")
64
+ uploaded_file = st.file_uploader("Choose an chest x-ray...", type=["png", "jpg"])
65
+ text_input = st.text_input("Type the doctor diagnosis")
66
  if uploaded_file is not None and text_input:
67
  local_image_path = None
68
  try: