Commit ·
e37881b
1
Parent(s): 16419f6
Update sample chat link in description
Browse files
app.py
CHANGED
|
@@ -157,7 +157,7 @@ interface = gr.Interface(
|
|
| 157 |
fn=motivate_me,
|
| 158 |
inputs=[
|
| 159 |
gr.File(label="Upload WhatsApp Chat (_chat.txt)"),
|
| 160 |
-
gr.Textbox(label="Your Name", value="", placeholder="Enter your name (e.g.,
|
| 161 |
],
|
| 162 |
outputs=[
|
| 163 |
gr.Textbox(label="Conversation Summary"),
|
|
@@ -166,7 +166,8 @@ interface = gr.Interface(
|
|
| 166 |
gr.Audio(label="Listen Up!")
|
| 167 |
],
|
| 168 |
title="Run Buddy: Your Personal Motivator",
|
| 169 |
-
description="Upload your WhatsApp chat (_chat.txt) and enter your name to get a summary, a happy moment, and a running pep talk from 500 random messages!
|
|
|
|
| 170 |
theme="soft"
|
| 171 |
)
|
| 172 |
|
|
|
|
| 157 |
fn=motivate_me,
|
| 158 |
inputs=[
|
| 159 |
gr.File(label="Upload WhatsApp Chat (_chat.txt)"),
|
| 160 |
+
gr.Textbox(label="Your Name", value="", placeholder="Enter your name (e.g., Jamie)")
|
| 161 |
],
|
| 162 |
outputs=[
|
| 163 |
gr.Textbox(label="Conversation Summary"),
|
|
|
|
| 166 |
gr.Audio(label="Listen Up!")
|
| 167 |
],
|
| 168 |
title="Run Buddy: Your Personal Motivator",
|
| 169 |
+
description="Upload your WhatsApp chat (_chat.txt) and enter your name to get a summary, a happy moment, and a running pep talk from 500 random messages! Try the sample below or download it [here](https://huggingface.co/spaces/justlearningin2025/RunBuddyMotivator/raw/main/sample_chat.txt).",
|
| 170 |
+
examples=[["sample_chat.txt", "Jamie"]], # Preload sample file and name
|
| 171 |
theme="soft"
|
| 172 |
)
|
| 173 |
|