Spaces:
Runtime error
Runtime error
Commit
•
33ed452
1
Parent(s):
6e8ea7a
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def prompt(topic_name, link, writing_style, age):
|
4 |
-
return f"Using a {writing_style} writing style and targeting an audience of age between 18 to {age}, using this link {link} and create Instagram carousel content on {topic_name} with the following specifications: \nTitle: Choose an attention-grabbing title for your carousel consisting of 4 to 5 words and 25 characters maximum. \nSubtopics: \n1. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n2. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n3. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n4. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n5. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words."
|
5 |
|
6 |
inputs = [
|
7 |
gr.inputs.Textbox(label='Topic Name'),
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def prompt(topic_name, link, writing_style, age):
|
4 |
+
return f"Using a {writing_style} writing style and targeting an audience of age between 18 to {age}, using this link {link} and create Instagram carousel content on {topic_name} with the following specifications: \nTitle: Choose an attention-grabbing title for your carousel consisting of 4 to 5 words and 25 characters maximum and do not add more than 8 character words. \nSubtopics: \n1. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n2. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n3. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n4. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words. \n5. Subtopic: Brief heading (2-4 words) \nExplanation: explain the point in 50 to 60 words."
|
5 |
|
6 |
inputs = [
|
7 |
gr.inputs.Textbox(label='Topic Name'),
|