Spaces:
Runtime error
Runtime error
trying to add logging in to writing to dataset
Browse files
Home.py
CHANGED
|
@@ -407,8 +407,11 @@ def about_us():
|
|
| 407 |
def feedback():
|
| 408 |
import pandas as pd
|
| 409 |
from pathlib import Path
|
|
|
|
| 410 |
import datasets
|
| 411 |
|
|
|
|
|
|
|
| 412 |
st.subheader('Leave comments below')
|
| 413 |
|
| 414 |
with st.form('feed',clear_on_submit=True):
|
|
|
|
| 407 |
def feedback():
|
| 408 |
import pandas as pd
|
| 409 |
from pathlib import Path
|
| 410 |
+
from huggingface_hub import login
|
| 411 |
import datasets
|
| 412 |
|
| 413 |
+
login(st.secrets.hug_key)
|
| 414 |
+
|
| 415 |
st.subheader('Leave comments below')
|
| 416 |
|
| 417 |
with st.form('feed',clear_on_submit=True):
|