Spaces:
Running
Running
Update chatbot.py
Browse files- chatbot.py +51 -1
chatbot.py
CHANGED
@@ -64,7 +64,57 @@ examples_path = os.path.dirname(__file__)
|
|
64 |
EXAMPLES = [
|
65 |
[
|
66 |
{
|
67 |
-
"text": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
]
|
70 |
]
|
|
|
64 |
EXAMPLES = [
|
65 |
[
|
66 |
{
|
67 |
+
"text": "What is Friction? Explain in Detail.",
|
68 |
+
}
|
69 |
+
],
|
70 |
+
[
|
71 |
+
{
|
72 |
+
"text": "Write me a Python function to generate unique passwords.",
|
73 |
+
}
|
74 |
+
],
|
75 |
+
[
|
76 |
+
{
|
77 |
+
"text": "What's the latest price of Bitcoin?",
|
78 |
+
}
|
79 |
+
],
|
80 |
+
[
|
81 |
+
{
|
82 |
+
"text": "Search and give me list of spaces trending on HuggingFace.",
|
83 |
+
}
|
84 |
+
],
|
85 |
+
[
|
86 |
+
{
|
87 |
+
"text": "Create a Beautiful Picture of Effiel at Night.",
|
88 |
+
}
|
89 |
+
],
|
90 |
+
[
|
91 |
+
{
|
92 |
+
"text": "Create image of cute cat.",
|
93 |
+
}
|
94 |
+
],
|
95 |
+
[
|
96 |
+
{
|
97 |
+
"text": "What unusual happens in this video.",
|
98 |
+
"files": [f"{examples_path}/example_video/accident.gif"],
|
99 |
+
}
|
100 |
+
],
|
101 |
+
[
|
102 |
+
{
|
103 |
+
"text": "What's name of superhero in this clip",
|
104 |
+
"files": [f"{examples_path}/example_video/spiderman.gif"],
|
105 |
+
}
|
106 |
+
],
|
107 |
+
[
|
108 |
+
{
|
109 |
+
"text": "What's written on this paper",
|
110 |
+
"files": [f"{examples_path}/example_images/paper_with_text.png"],
|
111 |
+
}
|
112 |
+
],
|
113 |
+
[
|
114 |
+
{
|
115 |
+
"text": "Who are they? Tell me about both of them",
|
116 |
+
"files": [f"{examples_path}/example_images/elon_smoking.jpg",
|
117 |
+
f"{examples_path}/example_images/steve_jobs.jpg", ]
|
118 |
}
|
119 |
]
|
120 |
]
|