Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,6 @@ def send_to_openai(image_file):
|
|
98 |
assistant_response = response.json()['choices'][0]['message']['content']
|
99 |
recognition = assistant_response.split('\n')
|
100 |
result_string = ' '.join(words + recognition)
|
101 |
-
return result_string
|
102 |
generation_config = {
|
103 |
"temperature": 0.9,
|
104 |
"top_p": 1,
|
|
|
98 |
assistant_response = response.json()['choices'][0]['message']['content']
|
99 |
recognition = assistant_response.split('\n')
|
100 |
result_string = ' '.join(words + recognition)
|
|
|
101 |
generation_config = {
|
102 |
"temperature": 0.9,
|
103 |
"top_p": 1,
|