Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def generate_caption(topic):
4
+ return f"🌾 OJA OKO STUDIO\n\n{topic} 🌱\nFresh, natural and straight from the source.\n\n#OjaOko #FarmToTable #NaijaFood"
5
+
6
+ iface = gr.Interface(
7
+ fn=generate_caption,
8
+ inputs="text",
9
+ outputs="text",
10
+ title="OJA OKO Caption Generator",
11
+ description="Generate captions for your farm & food content"
12
+ )
13
+
14
+ iface.launch()