Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,6 @@ safety_settings_b64 = 'W3siY2F0ZWdvcnkiOiJIQVJNX0NBVEVHT1JZX0RFUk9HQVRPUlkiLCJ0a
|
|
| 19 |
|
| 20 |
# Convert the prompt text param from a bae64 string to a string.
|
| 21 |
text = base64.b64decode(text_b64).decode("utf-8")
|
| 22 |
-
text = "ANSWER IN TAMIL ONLY" + text
|
| 23 |
|
| 24 |
# Convert the stop_sequences and safety_settings params from base64 strings to lists.
|
| 25 |
stop_sequences = json.loads(base64.b64decode(stop_sequences_b64).decode("utf-8"))
|
|
|
|
| 19 |
|
| 20 |
# Convert the prompt text param from a bae64 string to a string.
|
| 21 |
text = base64.b64decode(text_b64).decode("utf-8")
|
|
|
|
| 22 |
|
| 23 |
# Convert the stop_sequences and safety_settings params from base64 strings to lists.
|
| 24 |
stop_sequences = json.loads(base64.b64decode(stop_sequences_b64).decode("utf-8"))
|