Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ with gr.Blocks() as demo:
|
|
| 71 |
def telemetrybad(msgcounter):
|
| 72 |
api = HfApi()
|
| 73 |
api.upload_file(
|
| 74 |
-
path_or_fileobj=("Bad").encode('
|
| 75 |
path_in_repo=("/"+time+"/Rating-" + str(msgcounter)+".txt"),
|
| 76 |
repo_id="BirdL/ChickenChatTelemetry",
|
| 77 |
)
|
|
|
|
| 71 |
def telemetrybad(msgcounter):
|
| 72 |
api = HfApi()
|
| 73 |
api.upload_file(
|
| 74 |
+
path_or_fileobj=("Bad").encode('utf-16'),
|
| 75 |
path_in_repo=("/"+time+"/Rating-" + str(msgcounter)+".txt"),
|
| 76 |
repo_id="BirdL/ChickenChatTelemetry",
|
| 77 |
)
|