awacke1 commited on
Commit
c089e5c
Β·
1 Parent(s): 7b77cda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -94
app.py CHANGED
@@ -90,100 +90,6 @@ for name in url_names:
90
 
91
  #url_emojis[:5], url_names[:5] # Display the first 5 URL names with their associated emojis
92
 
93
-
94
-
95
- # List of URLs provided by the user
96
- urls = [
97
- "https://huggingface.co/spaces/awacke1/CB-GR-Chatbot-Blenderbot",
98
- "https://huggingface.co/spaces/awacke1/TTS-STT-Blocks",
99
- "https://huggingface.co/spaces/awacke1/Prompt-Refinery-Text-to-Image-Generation",
100
- "https://huggingface.co/spaces/awacke1/Video-Summary",
101
- "https://huggingface.co/spaces/awacke1/AI-MovieMaker-Comedy",
102
- "https://huggingface.co/spaces/awacke1/ChatGPT-Memory-Chat-Story-Generator",
103
- "https://huggingface.co/spaces/awacke1/CloneAnyVoice",
104
- "https://huggingface.co/spaces/awacke1/ChatGPT-Streamlit-2",
105
- "https://huggingface.co/spaces/awacke1/WikipediaUltimateAISearch",
106
- "https://huggingface.co/spaces/awacke1/RLHF.Cognitive.Episodic.Semantic.Memory",
107
- "https://huggingface.co/spaces/awacke1/Memory-Shared",
108
- "https://huggingface.co/spaces/awacke1/VideoSwap",
109
- "https://huggingface.co/spaces/awacke1/AI-Wikipedia-Search",
110
- "https://huggingface.co/spaces/awacke1/AutoMLUsingStreamlit-Plotly",
111
- "https://huggingface.co/spaces/awacke1/NLP-Lyric-Chorus-Image",
112
- "https://huggingface.co/spaces/awacke1/OpenAssistant-Chatbot-FTW-Open-Source",
113
- "https://huggingface.co/spaces/awacke1/ChatGPTStreamlit7",
114
- "https://huggingface.co/spaces/awacke1/MultiPDF-QA-ChatGPT-Langchain",
115
- "https://huggingface.co/spaces/awacke1/SOTA-Plan",
116
- "https://huggingface.co/spaces/awacke1/AIandSmartTools",
117
- "https://huggingface.co/spaces/awacke1/3DVirtualFood",
118
- "https://huggingface.co/spaces/awacke1/Gradio-Gallery-Health-Medical-Icon-Sets",
119
- "https://huggingface.co/spaces/awacke1/DatasetAnalyzer",
120
- "https://huggingface.co/spaces/awacke1/PrompTart",
121
- "https://huggingface.co/spaces/awacke1/sileod-deberta-v3-base-tasksource-nli",
122
- "https://huggingface.co/spaces/awacke1/File-Memory-Operations-Human-Feedback-Gradio",
123
- "https://huggingface.co/spaces/awacke1/Bloom.Big.Science.Continual.Generator",
124
- "https://huggingface.co/spaces/awacke1/Ontology-Gradio",
125
- "https://huggingface.co/spaces/awacke1/HTML5-Aframe-3dMap-Flight",
126
- "https://huggingface.co/spaces/awacke1/Bloom.Generative.Writer",
127
- "https://huggingface.co/spaces/awacke1/Voice-ChatGPT-Streamlit-12",
128
- "https://huggingface.co/spaces/awacke1/HTML5-AR-VR",
129
- "https://huggingface.co/spaces/awacke1/AnimationAI",
130
- "https://huggingface.co/spaces/awacke1/GenerativeWordsandImages",
131
- "https://huggingface.co/spaces/awacke1/AR-VR-IOT-Demo",
132
- "https://huggingface.co/spaces/awacke1/ArtStyleFoodsandNutrition",
133
- "https://huggingface.co/spaces/awacke1/CarePlanQnAWithContext",
134
- "https://huggingface.co/spaces/awacke1/VideoSummaryYoutube3",
135
- "https://huggingface.co/spaces/awacke1/AW-01ST-CSV-Dataset-Analyzer",
136
- "https://huggingface.co/spaces/awacke1/Try.Playing.Learning.Sharing.On.This",
137
- "https://huggingface.co/spaces/awacke1/google-flan-t5-base",
138
- "https://huggingface.co/spaces/awacke1/PubMed-Parrot-Paraphraser-on-T5",
139
- "https://huggingface.co/spaces/awacke1/Writing-Grammar-And-Paraphrase-w-Pegasus",
140
- "https://huggingface.co/spaces/awacke1/runwayml-stable-diffusion-v1-5",
141
- "https://huggingface.co/spaces/awacke1/DockerGoFlanT5",
142
- "https://huggingface.co/spaces/awacke1/GradioContinualGenerator",
143
- "https://huggingface.co/spaces/awacke1/StreamlitSuperPowerCheatSheet"
144
- ]
145
-
146
- # Extract the last part of each URL (after the last '/') to serve as the name of the button
147
- url_names = [url.split('/')[-1] for url in urls]
148
-
149
- # Associate each URL with a relevant emoji based on keywords in its name
150
- emoji_mapping = {
151
- "Chatbot": "πŸ€–",
152
- "TTS": "πŸ—£οΈ",
153
- "STT": "πŸ‘‚",
154
- "Video": "πŸŽ₯",
155
- "MovieMaker": "🍿",
156
- "ChatGPT": "πŸ’¬",
157
- "Voice": "πŸŽ™οΈ",
158
- "Wikipedia": "πŸ“–",
159
- "Memory": "🧠",
160
- "AI": "🧠",
161
- "OpenAssistant": "🀝",
162
- "3D": "πŸ•ΆοΈ",
163
- "AR": "πŸ‘“",
164
- "VR": "πŸ•ΆοΈ",
165
- "Animation": "πŸ–ŒοΈ",
166
- "Dataset": "πŸ“Š",
167
- "Gradio": "πŸ“»",
168
- "HTML5": "🌐",
169
- "Writing": "✍️",
170
- "Grammar": "πŸ–‹οΈ",
171
- "Paraphrase": "πŸ”„",
172
- "Streamlit": "🌠"
173
- }
174
-
175
- # Map each URL name to its most relevant emoji
176
- url_emojis = []
177
- for name in url_names:
178
- associated_emoji = "πŸ”—" # Default emoji
179
- for keyword, emoji in emoji_mapping.items():
180
- if keyword in name:
181
- associated_emoji = emoji
182
- break
183
- url_emojis.append(associated_emoji)
184
-
185
- url_emojis[:5], url_names[:5] # Display the first 5 URL names with their associated emojis
186
-
187
  import streamlit as st
188
  import json
189
  import webbrowser
 
90
 
91
  #url_emojis[:5], url_names[:5] # Display the first 5 URL names with their associated emojis
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  import streamlit as st
94
  import json
95
  import webbrowser