tahercoolguy commited on
Commit
3158510
1 Parent(s): af13a88

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +9 -3
main.py CHANGED
@@ -474,8 +474,8 @@ def main():
474
  delete_assistant_button = gr.Button("delete assistant",visible=False)
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
 
@@ -485,7 +485,7 @@ def main():
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
 
@@ -496,6 +496,12 @@ def main():
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):
501
  chat_bot = gr.Chatbot(label="conversation", height=600)
 
474
  delete_assistant_button = gr.Button("delete assistant",visible=False)
475
 
476
  delete_all_assistant_button = gr.Button("delete all assistant",visible=False)
477
+
478
+ # this is for files .
479
  list_file_button = gr.Button("list file",visible=False)
480
  file_list = gr.TextArea(label="file_list",visible=False)
481
 
 
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
+ # this is for 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
 
 
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
+ # with gr.TabItem("files"):
500
+
501
+
502
+ # with gr.TabItem("function script"):
503
+
504
+
505
  # chat
506
  with gr.Column(scale=5):
507
  chat_bot = gr.Chatbot(label="conversation", height=600)