Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with demo:
|
|
60 |
text2 = gr.Textbox()
|
61 |
|
62 |
prompt = f"""
|
63 |
-
You are a world class nurse practitioner. You are provided with
|
64 |
Summarize the text and put it in a table format with rows as follows: \
|
65 |
|
66 |
1. Patient identification:
|
@@ -74,7 +74,7 @@ with demo:
|
|
74 |
9. Emotional well-being:
|
75 |
10. Patient concerns and expectations:
|
76 |
|
77 |
-
|
78 |
"""
|
79 |
|
80 |
b1.click(transcribe, inputs=audio, outputs=text1)
|
@@ -82,7 +82,7 @@ with demo:
|
|
82 |
|
83 |
|
84 |
# b1.click(transcribe, inputs=audio, outputs=text1)
|
85 |
-
# b2.click(get_completion, inputs=
|
86 |
|
87 |
|
88 |
|
|
|
60 |
text2 = gr.Textbox()
|
61 |
|
62 |
prompt = f"""
|
63 |
+
You are a world class nurse practitioner. You are provided with the transcription. \
|
64 |
Summarize the text and put it in a table format with rows as follows: \
|
65 |
|
66 |
1. Patient identification:
|
|
|
74 |
9. Emotional well-being:
|
75 |
10. Patient concerns and expectations:
|
76 |
|
77 |
+
|
78 |
"""
|
79 |
|
80 |
b1.click(transcribe, inputs=audio, outputs=text1)
|
|
|
82 |
|
83 |
|
84 |
# b1.click(transcribe, inputs=audio, outputs=text1)
|
85 |
+
# b2.click(get_completion, inputs=text1, outputs=text2)
|
86 |
|
87 |
|
88 |
|