adding title, description
Browse files
app.py
CHANGED
@@ -1,7 +1,16 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
|
4 |
def greet(name):
|
5 |
return "Hello " + name + "!!"
|
6 |
|
7 |
+
|
8 |
+
iface = gr.Interface(
|
9 |
+
title="Dialogue Box",
|
10 |
+
description="upload a comic and enter a dialogue",
|
11 |
+
fn=greet,
|
12 |
+
inputs="text",
|
13 |
+
outputs="text"
|
14 |
+
)
|
15 |
+
|
16 |
iface.launch()
|