Spaces:
Runtime error
Runtime error
Denver Citizen9
commited on
Commit
•
faf140a
1
Parent(s):
9edd711
updated
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ def launch_demo():
|
|
47 |
result = analyze_data(category, text)
|
48 |
return result
|
49 |
|
50 |
-
dropdown = gr.components.Dropdown(categories, label="
|
51 |
-
text_input = gr.components.Textbox(label="
|
52 |
output = gr.components.Textbox(label="Analysis Result")
|
53 |
|
54 |
rando_choice = random.choice(categories)
|
@@ -63,8 +63,8 @@ def launch_demo():
|
|
63 |
inputs=[dropdown, text_input],
|
64 |
outputs=output,
|
65 |
examples=examples,
|
66 |
-
title="
|
67 |
-
description="Select
|
68 |
theme="default",
|
69 |
).launch()
|
70 |
|
|
|
47 |
result = analyze_data(category, text)
|
48 |
return result
|
49 |
|
50 |
+
dropdown = gr.components.Dropdown(categories, label="Category")
|
51 |
+
text_input = gr.components.Textbox(label="Topic")
|
52 |
output = gr.components.Textbox(label="Analysis Result")
|
53 |
|
54 |
rando_choice = random.choice(categories)
|
|
|
63 |
inputs=[dropdown, text_input],
|
64 |
outputs=output,
|
65 |
examples=examples,
|
66 |
+
title="Yo Momma's so Generative",
|
67 |
+
description="Select Category, enter Topic, and click Submit. You can also try the supplied example.",
|
68 |
theme="default",
|
69 |
).launch()
|
70 |
|