Denver Citizen9 commited on
Commit
faf140a
1 Parent(s): 9edd711
Files changed (1) hide show
  1. app.py +4 -4
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="Select a Category")
51
- text_input = gr.components.Textbox(label="Enter Text")
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="Data Analyzer",
67
- description="Select a category, enter text, and click Submit.",
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