Spaces:
Running
Running
tahercoolguy
commited on
Commit
•
16b9e9b
1
Parent(s):
694a772
Update main.py
Browse filesRemoved unwanted use
main.py
CHANGED
@@ -475,26 +475,26 @@ def main():
|
|
475 |
|
476 |
delete_all_assistant_button = gr.Button("delete all assistant",visible=False)
|
477 |
|
478 |
-
with gr.TabItem("files"
|
479 |
-
|
480 |
-
|
481 |
|
482 |
-
|
483 |
-
|
484 |
|
485 |
-
|
486 |
-
|
487 |
|
488 |
-
with gr.TabItem("function script"
|
489 |
-
|
490 |
-
|
491 |
|
492 |
-
|
493 |
-
|
494 |
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
|
499 |
# chat
|
500 |
with gr.Column(scale=5):
|
|
|
475 |
|
476 |
delete_all_assistant_button = gr.Button("delete all assistant",visible=False)
|
477 |
|
478 |
+
# with gr.TabItem("files"):
|
479 |
+
# list_file_button = gr.Button("list file")
|
480 |
+
# file_list = gr.TextArea(label="file_list")
|
481 |
|
482 |
+
# upload_files = gr.Files(label="upload_files")
|
483 |
+
# upload_files_button = gr.Button("upload file")
|
484 |
|
485 |
+
# delete_file_id = gr.Textbox(max_lines=1, label="delete_file_id")
|
486 |
+
# delete_file_button = gr.Button("delete file")
|
487 |
|
488 |
+
# with gr.TabItem("function script"):
|
489 |
+
# list_function_python_script_button = gr.Button("list python script")
|
490 |
+
# list_function_python_script_list = gr.TextArea(label="python_script_list")
|
491 |
|
492 |
+
# upload_function_python_script_files = gr.Files(label="upload_python_script_files")
|
493 |
+
# upload_function_python_script_button = gr.Button("upload python script")
|
494 |
|
495 |
+
# function_python_script_file = gr.Textbox(max_lines=1, label="python_script_file")
|
496 |
+
# delete_function_python_script_button = gr.Button("delete python script")
|
497 |
+
# download_function_python_script_button = gr.Button("download python script")
|
498 |
|
499 |
# chat
|
500 |
with gr.Column(scale=5):
|