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