Spaces:
Runtime error
Runtime error
Denver Citizen9 commited on
Commit ·
9edd711
1
Parent(s): e6efd22
syntax
Browse files
app.py
CHANGED
|
@@ -51,11 +51,11 @@ def launch_demo():
|
|
| 51 |
text_input = gr.components.Textbox(label="Enter Text")
|
| 52 |
output = gr.components.Textbox(label="Analysis Result")
|
| 53 |
|
| 54 |
-
rando_choice =
|
| 55 |
-
rando_topic =
|
| 56 |
|
| 57 |
examples = [
|
| 58 |
-
rando_choice, rando_topic],
|
| 59 |
]
|
| 60 |
|
| 61 |
gr.Interface(
|
|
|
|
| 51 |
text_input = gr.components.Textbox(label="Enter Text")
|
| 52 |
output = gr.components.Textbox(label="Analysis Result")
|
| 53 |
|
| 54 |
+
rando_choice = random.choice(categories)
|
| 55 |
+
rando_topic = random.choice(topics)
|
| 56 |
|
| 57 |
examples = [
|
| 58 |
+
[rando_choice, rando_topic],
|
| 59 |
]
|
| 60 |
|
| 61 |
gr.Interface(
|