textToSQL commited on
Commit
ed5f4de
·
1 Parent(s): c0e10b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 text delimited by triple quotes. \
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
- \"\"\"{text1}\"\"\"
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=prompt, outputs=text2)
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