Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def polish_text_with_ai(cleaned_text):
|
|
65 |
],
|
66 |
model="gemma2-9b-it",
|
67 |
)
|
68 |
-
polished_text=
|
69 |
return polished_text
|
70 |
|
71 |
# Extract text using GOT
|
|
|
65 |
],
|
66 |
model="gemma2-9b-it",
|
67 |
)
|
68 |
+
polished_text=chat_completion.choices[0].message.content
|
69 |
return polished_text
|
70 |
|
71 |
# Extract text using GOT
|