Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -306,7 +306,7 @@ def enhance_text(api_key, text, google):
|
|
306 |
# Prepare the request body
|
307 |
request_body = [{
|
308 |
"role": "user",
|
309 |
-
"content": f"
|
310 |
},]
|
311 |
|
312 |
# Add the API key to the request
|
|
|
306 |
# Prepare the request body
|
307 |
request_body = [{
|
308 |
"role": "user",
|
309 |
+
"content": f"{text} Translate the above text into Persian, converting the English terms used in it into common Persian terms. in respose dont add any thing exept for the srt formated translation."
|
310 |
},]
|
311 |
|
312 |
# Add the API key to the request
|