Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -69,7 +69,7 @@ To train on your own data, upload a CSV file with the following columns (no head
|
|
| 69 |
|
| 70 |
**Example CSV Row:**
|
| 71 |
```csv
|
| 72 |
-
"What is the weather in London?", "get_weather", "{
|
| 73 |
```
|
| 74 |
|
| 75 |
##
|
|
|
|
| 69 |
|
| 70 |
**Example CSV Row:**
|
| 71 |
```csv
|
| 72 |
+
"What is the weather in London?", "get_weather", "{""location"": ""London, UK""}"
|
| 73 |
```
|
| 74 |
|
| 75 |
##
|
ui.py
CHANGED
|
@@ -25,7 +25,8 @@ def build_interface(engine: FunctionGemmaEngine) -> gr.Blocks:
|
|
| 25 |
tools_status = gr.Markdown("")
|
| 26 |
|
| 27 |
with gr.Column(scale=1):
|
| 28 |
-
gr.Markdown("**Step 2: Upload Data (Optional)**\n\nUpload a CSV file to replace the default dataset
|
|
|
|
| 29 |
import_file = gr.File(
|
| 30 |
label="Upload Dataset (.csv)",
|
| 31 |
file_types=[".csv"],
|
|
|
|
| 25 |
tools_status = gr.Markdown("")
|
| 26 |
|
| 27 |
with gr.Column(scale=1):
|
| 28 |
+
gr.Markdown("**Step 2: Upload Data (Optional)**\n\nUpload a CSV file to replace the default dataset ([bebechien/SimpleToolCalling](https://huggingface.co/datasets/bebechien/SimpleToolCalling)).")
|
| 29 |
+
gr.Markdown("**Example CSV Row:**<br>Format: `[User Prompt, Tool Name, Tool Args JSON]`\n```csv\n\"What is the weather in London?\", \"get_weather\", \"{\"\"location\"\": \"\"London, UK\"\"}\"\n```")
|
| 30 |
import_file = gr.File(
|
| 31 |
label="Upload Dataset (.csv)",
|
| 32 |
file_types=[".csv"],
|