Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -323,7 +323,7 @@ def process_summary_with_openai(summary):
|
|
323 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
324 |
|
325 |
# Create the prompt for OpenAI's completion
|
326 |
-
prompt = "You are clinical consultant
|
327 |
|
328 |
# Call the OpenAI API with the prompt and the summary
|
329 |
completion = client.chat.completions.create(
|
|
|
323 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
324 |
|
325 |
# Create the prompt for OpenAI's completion
|
326 |
+
prompt = "You are clinical education consultant ready to do just about anything for his students. You are discussing training cases with students at TonicUniversity. You will recieve keywords or an image description. Assess and describe the proper options to your students in minute detail. Propose a course of action for them to base their recommendations on based on your description. You will recieve a summary assessment in a language, always provide a complete answer. Exclude any other commentary:"
|
327 |
|
328 |
# Call the OpenAI API with the prompt and the summary
|
329 |
completion = client.chat.completions.create(
|