Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,6 +72,10 @@ def get_completion(prompt, model='gpt-3.5-turbo'):
|
|
| 72 |
return response.choices[0].message['content']
|
| 73 |
|
| 74 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
title = "Chat with NP"
|
| 76 |
audio = gr.Audio(source="microphone", type="filepath")
|
| 77 |
|
|
|
|
| 72 |
return response.choices[0].message['content']
|
| 73 |
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
+
gr.Markdown("""
|
| 76 |
+
# Chat with NP
|
| 77 |
+
## This is to make life of NPs easier. Record post visit summary in natural language, press "transcribe audio", and then "prepare a report".
|
| 78 |
+
""")
|
| 79 |
title = "Chat with NP"
|
| 80 |
audio = gr.Audio(source="microphone", type="filepath")
|
| 81 |
|