textToSQL commited on
Commit
fd48156
·
1 Parent(s): 3d0f465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -71,10 +71,8 @@ def get_completion(prompt, model='gpt-3.5-turbo'):
71
  )
72
  return response.choices[0].message['content']
73
 
74
- demo = gr.Blocks()
75
-
76
- with demo:
77
- title = 'Chat with NP'
78
  audio = gr.Audio(source="microphone", type="filepath")
79
 
80
  b1 = gr.Button("Transcribe audio")
 
71
  )
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
 
78
  b1 = gr.Button("Transcribe audio")