Spaces:
Runtime error
Runtime error
fix typo
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ 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
|
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
|
|
|
61 |
|
62 |
tokenizer, model = load_tokenizer_and_model()
|
63 |
st.title("Diagnosis Scoring")
|
64 |
+
uploaded_file = st.file_uploader("Choose a 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
|