Spaces:
Sleeping
Sleeping
abnerzhang
commited on
Commit
·
2ee6302
1
Parent(s):
216a708
Update app.py
Browse files
app.py
CHANGED
@@ -3,5 +3,11 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iface.launch()
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
iface = gr.Interface(
|
7 |
+
fn=greet,
|
8 |
+
inputs=gr.inputs.Textbox(lines=3, placeholder="Enter IELTS writing prompt here..."),
|
9 |
+
outputs="text",
|
10 |
+
title="IELTS Essay Generator",
|
11 |
+
description="This tool generates a response to an IELTS writing prompt using AI.",
|
12 |
+
)
|
13 |
iface.launch()
|