Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,12 @@ demo = gr.ChatInterface(
|
|
63 |
],
|
64 |
)
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
def load_new_dataset():
|
67 |
gr.Info(message="Loading dataset...")
|
68 |
ds = load_dataset("fka/awesome-chatgpt-prompts", split="train")
|
|
|
63 |
],
|
64 |
)
|
65 |
|
66 |
+
def show_components():
|
67 |
+
return [
|
68 |
+
gr.Textbox(visible=True, label="Query"),
|
69 |
+
gr.Button(visible=True, value="Search"),
|
70 |
+
]
|
71 |
+
|
72 |
def load_new_dataset():
|
73 |
gr.Info(message="Loading dataset...")
|
74 |
ds = load_dataset("fka/awesome-chatgpt-prompts", split="train")
|