Spaces:
Running
Running
Update simple_casl_app.py
Browse files- simple_casl_app.py +0 -12
simple_casl_app.py
CHANGED
@@ -93,18 +93,6 @@ def analyze_transcript(file, age, gender, slp_notes):
|
|
93 |
SLP CLINICAL NOTES:
|
94 |
{slp_notes.strip()}
|
95 |
"""
|
96 |
-
|
97 |
-
# Simple analysis prompt
|
98 |
-
def analyze_transcript(file, age, gender):
|
99 |
-
"""Simple CASL analysis"""
|
100 |
-
if file is None:
|
101 |
-
return "Please upload a transcript file first."
|
102 |
-
|
103 |
-
# Get transcript content
|
104 |
-
transcript = process_file(file)
|
105 |
-
if transcript.startswith("Error") or transcript.startswith("Please"):
|
106 |
-
return transcript
|
107 |
-
|
108 |
# Provide the instructions for analyzing the transcript
|
109 |
instructions = f"""
|
110 |
|
|
|
93 |
SLP CLINICAL NOTES:
|
94 |
{slp_notes.strip()}
|
95 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
# Provide the instructions for analyzing the transcript
|
97 |
instructions = f"""
|
98 |
|