Keerthi Balaji
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ def generate_prompt(topic):
|
|
| 10 |
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=generate_prompt,
|
| 13 |
-
|
| 14 |
-
|
| 15 |
title="Creative Writing Prompt Generation"
|
| 16 |
)
|
| 17 |
|
|
|
|
| 10 |
|
| 11 |
iface = gr.Interface(
|
| 12 |
fn=generate_prompt,
|
| 13 |
+
inputs="text",
|
| 14 |
+
outputs="text",
|
| 15 |
title="Creative Writing Prompt Generation"
|
| 16 |
)
|
| 17 |
|