Bagda commited on
Commit
3deffa4
·
verified ·
1 Parent(s): 00d7084

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +125 -0
app.py ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ tools = [
4
+ {
5
+ "name": "ChatGPT (OpenAI)",
6
+ "url": "https://chat.openai.com/",
7
+ "steps": [
8
+ "Step 1: Open ChatGPT website: https://chat.openai.com/",
9
+ "Step 2: Create or login to your OpenAI account.",
10
+ "Step 3: Choose Chat mode for conversation or code writing.",
11
+ "Step 4: Type your question, essay, or coding task.",
12
+ "Step 5: Copy the generated answer or download it if needed."
13
+ ]
14
+ },
15
+ {
16
+ "name": "Claude (Anthropic)",
17
+ "url": "https://www.anthropic.com/",
18
+ "steps": [
19
+ "Step 1: Visit Claude via: https://www.anthropic.com/",
20
+ "Step 2: Login or sign up for access.",
21
+ "Step 3: Type your detailed query (essay, summary, reasoning).",
22
+ "Step 4: Review Claude's detailed and ethical response.",
23
+ "Step 5: Copy, edit, or reuse the generated content."
24
+ ]
25
+ },
26
+ {
27
+ "name": "Google Gemini",
28
+ "url": "https://gemini.google.com/",
29
+ "steps": [
30
+ "Step 1: Go to Gemini: https://gemini.google.com/",
31
+ "Step 2: Sign in with your Google account.",
32
+ "Step 3: Select Text or Multimodal input option.",
33
+ "Step 4: Enter your question, image prompt, or code.",
34
+ "Step 5: Review Google's AI-generated answer or image."
35
+ ]
36
+ },
37
+ {
38
+ "name": "Perplexity AI",
39
+ "url": "https://www.perplexity.ai/",
40
+ "steps": [
41
+ "Step 1: Visit: https://www.perplexity.ai/",
42
+ "Step 2: No login required for basic use.",
43
+ "Step 3: Enter your search question or topic.",
44
+ "Step 4: Get cited, real-time web answers.",
45
+ "Step 5: Click source links for original references."
46
+ ]
47
+ },
48
+ {
49
+ "name": "MidJourney",
50
+ "url": "https://www.midjourney.com/",
51
+ "steps": [
52
+ "Step 1: Join the MidJourney Discord server: https://www.midjourney.com/",
53
+ "Step 2: Go to a bot channel like #newbies.",
54
+ "Step 3: Type your text prompt starting with /imagine.",
55
+ "Step 4: Wait for AI to generate 4 image options.",
56
+ "Step 5: Upscale or create variations of your favorite image."
57
+ ]
58
+ },
59
+ {
60
+ "name": "Runway ML",
61
+ "url": "https://runwayml.com/",
62
+ "steps": [
63
+ "Step 1: Open https://runwayml.com/",
64
+ "Step 2: Create an account or log in.",
65
+ "Step 3: Choose an AI model (like Gen-2 for videos).",
66
+ "Step 4: Upload your input (image/video/text).",
67
+ "Step 5: Click generate and download your AI-edited output."
68
+ ]
69
+ },
70
+ {
71
+ "name": "Jasper AI",
72
+ "url": "https://www.jasper.ai/",
73
+ "steps": [
74
+ "Step 1: Visit: https://www.jasper.ai/",
75
+ "Step 2: Sign up or log in.",
76
+ "Step 3: Choose the content type (blog, ad, email).",
77
+ "Step 4: Fill in brief details like topic, tone, and audience.",
78
+ "Step 5: Generate, edit, and export your marketing content."
79
+ ]
80
+ },
81
+ {
82
+ "name": "Synthesia",
83
+ "url": "https://www.synthesia.io/",
84
+ "steps": [
85
+ "Step 1: Go to: https://www.synthesia.io/",
86
+ "Step 2: Create an account and choose a template.",
87
+ "Step 3: Type your script text.",
88
+ "Step 4: Choose an AI avatar and voice.",
89
+ "Step 5: Generate and download your AI video."
90
+ ]
91
+ },
92
+ {
93
+ "name": "Grammarly",
94
+ "url": "https://www.grammarly.com/",
95
+ "steps": [
96
+ "Step 1: Visit: https://www.grammarly.com/",
97
+ "Step 2: Install Grammarly extension or use online editor.",
98
+ "Step 3: Paste your text content (emails, articles, etc.).",
99
+ "Step 4: Review grammar, tone, and clarity suggestions.",
100
+ "Step 5: Apply corrections and copy the improved text."
101
+ ]
102
+ },
103
+ {
104
+ "name": "ElevenLabs",
105
+ "url": "https://elevenlabs.io/",
106
+ "steps": [
107
+ "Step 1: Open: https://elevenlabs.io/",
108
+ "Step 2: Sign up or log in to ElevenLabs platform.",
109
+ "Step 3: Type your script or upload text file.",
110
+ "Step 4: Select voice style, language, and settings.",
111
+ "Step 5: Generate, listen, and download your AI voiceover."
112
+ ]
113
+ }
114
+ ]
115
+
116
+ def show_steps():
117
+ html = "<h1 style='color:#0066cc;'>Top 10 AI Tools - Step-by-Step Usage</h1>"
118
+ for tool in tools:
119
+ html += f"<h2>{tool['name']}</h2><ul>"
120
+ for step in tool["steps"]:
121
+ html += f"<li>{step}</li>"
122
+ html += f"</ul><a href='{tool['url']}' target='_blank' style='display:inline-block; margin-bottom:10px; padding:8px 12px; background-color:#28a745; color:white; border-radius:5px; text-decoration:none;'>Visit Website</a><hr>"
123
+ return html
124
+
125
+ gr.Interface(fn=show_steps, inputs=None, outputs=gr.HTML(), title="AI Tools Stepwise Guide 2025").launch()