tykiww commited on
Commit
cfbd01a
1 Parent(s): 48dcd76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -61,6 +61,12 @@ class get_datasets:
61
 
62
 
63
 
 
 
 
 
 
 
64
 
65
  def show_about():
66
  return "## About\n\nThis is an application for uploading datasets. You can upload files in .csv, .jsonl, or .txt format. The app will process the file and provide feedback."
@@ -109,12 +115,11 @@ def submit_weights(model, repository, model_out_name, token):
109
  def main():
110
  with gr.Blocks() as demo:
111
 
112
- with gr.Row():
113
- with gr.Column(scale=1, min_width=200): # Sidebar navigation
114
- gr.Markdown("### Navigation")
115
- btn_about = gr.Button("About")
116
- btn_upload = gr.Button("Upload Dataset")
117
- with gr.Column(scale=4): # Main content area
118
  ##### Title Block #####
119
  gr.Markdown("# SLM Instruction Tuning with Unsloth")
120
 
 
61
 
62
 
63
 
64
+ def about_page():
65
+ return "## About\n\nThis is an application for uploading datasets. You can upload files in .csv, .jsonl, or .txt format. The app will process the file and provide feedback."
66
+
67
+
68
+
69
+
70
 
71
  def show_about():
72
  return "## About\n\nThis is an application for uploading datasets. You can upload files in .csv, .jsonl, or .txt format. The app will process the file and provide feedback."
 
115
  def main():
116
  with gr.Blocks() as demo:
117
 
118
+
119
+ with gr.Tabs():
120
+ with gr.TabItem("About"):
121
+ gr.Markdown("## About\n\nThis is an application for uploading datasets. You can upload files in .csv, .jsonl, or .txt format. The app will process the file and provide feedback.")
122
+ with gr.TabItem("Train Model"):
 
123
  ##### Title Block #####
124
  gr.Markdown("# SLM Instruction Tuning with Unsloth")
125