Update app.py
Browse files
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,
|