Update app.py
Browse files
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 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 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 |
|