Spaces:
Sleeping
Sleeping
kanhatakeyama
commited on
Commit
•
3f95d3a
1
Parent(s):
7753859
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ scheduler = CommitScheduler(
|
|
30 |
repo_type="dataset",
|
31 |
folder_path=feedback_folder,
|
32 |
path_in_repo="data",
|
33 |
-
every=
|
34 |
)
|
35 |
|
36 |
def save_or_update_conversation(conversation_id, history,
|
@@ -207,5 +207,5 @@ def run():
|
|
207 |
demo.queue(max_size=256, api_open=True)
|
208 |
demo.launch(share=True, quiet=True)
|
209 |
|
210 |
-
|
211 |
-
|
|
|
30 |
repo_type="dataset",
|
31 |
folder_path=feedback_folder,
|
32 |
path_in_repo="data",
|
33 |
+
every=60, # Upload every 1 minutes
|
34 |
)
|
35 |
|
36 |
def save_or_update_conversation(conversation_id, history,
|
|
|
207 |
demo.queue(max_size=256, api_open=True)
|
208 |
demo.launch(share=True, quiet=True)
|
209 |
|
210 |
+
if __name__ == "__main__":
|
211 |
+
run()
|