sudip2003 commited on
Commit
de969bb
·
verified ·
1 Parent(s): 4d40826

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -73,10 +73,7 @@ def content_styles(text):
73
  def analyze_post(text):
74
  niche = niche_detection(text)
75
  style = content_styles(text)
76
- return {
77
- "Niche": niche,
78
- "Content Style": style
79
- }
80
 
81
  iface = gr.Interface(
82
  fn=analyze_post,
 
73
  def analyze_post(text):
74
  niche = niche_detection(text)
75
  style = content_styles(text)
76
+ return niche, style
 
 
 
77
 
78
  iface = gr.Interface(
79
  fn=analyze_post,