Ozgur Unlu
commited on
Commit
·
8b31c18
1
Parent(s):
d867642
notes at the top
Browse files
app.py
CHANGED
@@ -398,15 +398,18 @@ def create_interface():
|
|
398 |
# Create the interface with blocks for custom layout
|
399 |
with gr.Blocks(theme=gr.themes.Default()) as demo:
|
400 |
gr.Markdown("# Ethimar - AI Marketing Content Generator")
|
401 |
-
gr.Markdown("Generate ethical marketing content with AI-powered insights.\n⏳ Note: First generation might take 3
|
402 |
-
|
|
|
|
|
|
|
403 |
# Sample data button with custom styling
|
404 |
with gr.Row():
|
405 |
fill_button = gr.Button(
|
406 |
"Fill the form with sample data",
|
407 |
variant="primary",
|
408 |
size="sm",
|
409 |
-
scale=
|
410 |
)
|
411 |
|
412 |
# Main content area with two columns
|
@@ -421,7 +424,7 @@ def create_interface():
|
|
421 |
platform = gr.Radio(
|
422 |
choices=["Twitter", "Instagram"],
|
423 |
label="Platform",
|
424 |
-
value="Twitter"
|
425 |
)
|
426 |
tone = gr.Textbox(label="Tone", placeholder="e.g., professional, casual, friendly")
|
427 |
|
|
|
398 |
# Create the interface with blocks for custom layout
|
399 |
with gr.Blocks(theme=gr.themes.Default()) as demo:
|
400 |
gr.Markdown("# Ethimar - AI Marketing Content Generator")
|
401 |
+
gr.Markdown("Generate ethical marketing content with AI-powered insights.\n⏳ Note: First generation might take 1-3 minutes due to model loading. Subsequent generations will be faster!")
|
402 |
+
gr.Markdown("---------------------")
|
403 |
+
gr.Markdown("Current limitations: 1. Uses a simplified language GPT model to generate content due to using the free version of the Hugging Face Spaces, so the results might not always be perfect. 2. Only supports English language & Twitter(X) and Instagram at the moment. 3. Uses a template based sentiment analysis since Bertweet model only supports 3 sentiments (negative/neutral/positive)")
|
404 |
+
gr.Markdown("Next Steps: 1. Add more platforms in addition to Twitter(X) and Instagram. 2. Create image & videos in addition to generating text, using DALL-E 3 & Meta's Segment Anything Model.")
|
405 |
+
|
406 |
# Sample data button with custom styling
|
407 |
with gr.Row():
|
408 |
fill_button = gr.Button(
|
409 |
"Fill the form with sample data",
|
410 |
variant="primary",
|
411 |
size="sm",
|
412 |
+
scale=1
|
413 |
)
|
414 |
|
415 |
# Main content area with two columns
|
|
|
424 |
platform = gr.Radio(
|
425 |
choices=["Twitter", "Instagram"],
|
426 |
label="Platform",
|
427 |
+
value="Twitter(X)"
|
428 |
)
|
429 |
tone = gr.Textbox(label="Tone", placeholder="e.g., professional, casual, friendly")
|
430 |
|