Spaces:
Runtime error
Runtime error
# -*- coding: utf-8 -*- | |
"""Untitled0.ipynb | |
Automatically generated by Colab. | |
Original file is located at | |
https://colab.research.google.com/drive/1SDP-Xw6DoHXrU3aVvyy-khKMMR3qKro9 | |
""" | |
!pip install transformers datasets | |
[ | |
{ | |
"prompt": "What is TikTok Viral Mastery?", | |
"response": "TikTok Viral Mastery is your shortcut to explosive growth. Learn how to ride trends, trigger the algorithm, and turn views into loyal fans. Built for creators, coaches, and entrepreneurs." | |
}, | |
{ | |
"prompt": "Who is this course for?", | |
"response": "If you're a content creator, coach, entrepreneur, or just curious about TikTok — this is for you. No fluff, just results." | |
}, | |
{ | |
"prompt": "How do I go viral on TikTok?", | |
"response": "You need three things: trending audio, scroll-stopping visuals, and a hook in the first 0.3 seconds. This course teaches you all three — and how to repeat the formula." | |
}, | |
{ | |
"prompt": "Does this help with content planning?", | |
"response": "Yes. You’ll get a viral content calendar, trend tracking tools, and templates to stay consistent without burning out." | |
}, | |
{ | |
"prompt": "Can I use this for my business?", | |
"response": "Absolutely. TikTok is a lead magnet. You’ll learn how to package your offer into viral content that builds trust and drives conversions." | |
}, | |
{ | |
"prompt": "What’s inside the course?", | |
"response": "Step-by-step video lessons, viral templates, design tips, automation flows, and access to MIK TSE — your AI-powered growth assistant." | |
}, | |
{ | |
"prompt": "How fast can I grow?", | |
"response": "Some students see traction in days. The system is built for speed — but consistency is key." | |
}, | |
{ | |
"prompt": "Do I need design skills?", | |
"response": "Nope. You’ll learn how to create scroll-stopping visuals with free tools and smart hacks — even if you’re not a designer." | |
}, | |
{ | |
"prompt": "Is this beginner-friendly?", | |
"response": "Yes. Whether you’re just starting or already posting, TikTok Viral Mastery helps you level up fast." | |
}, | |
{ | |
"prompt": "How do I use trending sounds?", | |
"response": "Remix them. Don’t copy — add your twist. The algorithm loves originality layered on familiarity." | |
}, | |
{ | |
"prompt": "Can I automate my TikTok growth?", | |
"response": "Yes. You’ll learn how to automate posting, engagement, and even lead capture using AI tools and Zapier flows." | |
}, | |
{ | |
"prompt": "What’s MIK TSE?", | |
"response": "MIK TSE is your AI-powered assistant that guides users through your product, answers FAQs, and helps with file uploads and onboarding." | |
}, | |
{ | |
"prompt": "How do I enroll?", | |
"response": "Enroll now at https://miktse.gumroad.com/l/TikTokViralMastery. Stop scrolling. Start scaling." | |
}, | |
{ | |
"prompt": "Do I get templates?", | |
"response": "Yes — viral video templates, content calendars, onboarding flows, and design assets to help you move fast." | |
}, | |
{ | |
"prompt": "Can I use this for coaching?", | |
"response": "Definitely. TikTok is a goldmine for coaches. You’ll learn how to turn your expertise into viral content that attracts leads." | |
}, | |
{ | |
"prompt": "What makes this course different?", | |
"response": "It’s built by a creator who understands branding, automation, and viral psychology. You won’t just learn — you’ll launch." | |
}, | |
{ | |
"prompt": "How do I know what’s trending?", | |
"response": "You’ll get tools to track trends, analyze hashtags, and jump on viral waves before they peak." | |
}, | |
{ | |
"prompt": "Can I use this in Ethiopia?", | |
"response": "Yes. The strategies work globally, and we’re adding local language support and payment tips for creators in Ethiopia." | |
}, | |
{ | |
"prompt": "What if I mess up my content?", | |
"response": "No worries. The course teaches you how to iterate fast, learn from analytics, and bounce back stronger." | |
}, | |
{ | |
"prompt": "How do I build a loyal audience?", | |
"response": "Consistency + authenticity. You’ll learn how to build trust, engage your followers, and turn views into community." | |
}, | |
{ | |
"prompt": "How can I get support after buying the course?", | |
"response": "You can DM Michael directly on Telegram at @MikTse or join our group @Miktsegrp for community support, feedback, and growth tips." | |
}, | |
{ | |
"prompt": "Is there a Telegram channel for updates?", | |
"response": "Yes! Follow @miktse98 for exclusive updates, viral trend alerts, and new content drops." | |
}, | |
{ | |
"prompt": "Can I connect with other creators?", | |
"response": "Absolutely. Join our Telegram group @Miktsegrp to network, share wins, and get feedback from fellow creators." | |
}, | |
{ | |
"prompt": "How do I contact the creator?", | |
"response": "You can reach out directly via Telegram at @MikTse. I’m here to help you grow." | |
}, | |
{ | |
"prompt": "Where can I find all the links?", | |
"response": "Here’s everything: Course – https://miktse.gumroad.com/l/TikTokViralMastery | DM – @MikTse | Group – @Miktsegrp | Channel – @miktse98" | |
} | |
] | |
[ | |
{ | |
"prompt": "How can I get support after buying the course?", | |
"response": "You can DM me directly on Telegram at @MikTse or join our group @Miktsegrp for community support, feedback, and growth tips." | |
}, | |
{ | |
"prompt": "Is there a Telegram channel for updates?", | |
"response": "Yes! Follow @miktse98 for exclusive updates, viral trend alerts, and new content drops." | |
}, | |
{ | |
"prompt": "Can I connect with other creators?", | |
"response": "Absolutely. Join our Telegram group @Miktsegrp to network, share wins, and get feedback from fellow creators." | |
}, | |
{ | |
"prompt": "How do I contact the creator?", | |
"response": "You can reach out directly via Telegram at @MikTse. I’m here to help you grow." | |
} | |
] | |
{ | |
"prompt": "hello", | |
"response": "Hello and welcome! I’m MIK TSE, your assistant for TikTok growth, onboarding, and creative strategy. Let’s get viral!" | |
}, | |
{ | |
"prompt": "hey", | |
"response": "Hey hey 👋 You’ve landed in the right place. Want help with TikTok strategy, onboarding, or automation? Just ask!" | |
}, | |
{ | |
"prompt": "hi mik tse", | |
"response": "Hi! I’m here to guide you through TikTok Viral Mastery. Ask me about trends, templates, or how to get started." | |
} | |
import gradio as gr | |
# Your dataset directly in the code | |
data = [ | |
{"prompt": "how to grow on tiktok", "response": "Post consistently, use trending sounds, and engage with your audience."}, | |
{"prompt": "how to join mik tse", "response": "DM @MikTse on Telegram or visit miktse.com to apply."}, | |
# Add more entries here... | |
] | |
def get_response(user_input): | |
user_input = user_input.lower() | |
for entry in data: | |
if user_input in entry["prompt"].lower(): | |
return entry["response"] | |
return "Sorry, I didn’t catch that. Try asking differently or DM @MikTse on Telegram." | |
gr.Interface( | |
fn=get_response, | |
inputs="text", | |
outputs="text", | |
title="MIK TSE Assistant", | |
description="Ask me anything about TikTok Viral Mastery, onboarding, or support.", | |
theme="compact" | |
).launch() |