Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def generate_response(transcribed_text):
|
|
116 |
},
|
117 |
]
|
118 |
)
|
119 |
-
return response['choices'][0]['message']['content']
|
120 |
|
121 |
# Accessing the chat completion message content; modify based on actual object structure
|
122 |
# Assuming 'response.choices()' method returns a list of choices
|
|
|
116 |
},
|
117 |
]
|
118 |
)
|
119 |
+
#return response['choices'][0]['message']['content']
|
120 |
|
121 |
# Accessing the chat completion message content; modify based on actual object structure
|
122 |
# Assuming 'response.choices()' method returns a list of choices
|