Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,11 @@ examples = [
|
|
5 |
"I earned $20 today, what do I do with it?",
|
6 |
]
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
# Load the Gradio interface
|
9 |
-
gr.Interface.load(
|
10 |
-
examples=examples).launch()
|
|
|
5 |
"I earned $20 today, what do I do with it?",
|
6 |
]
|
7 |
|
8 |
+
# Define the model dictionary
|
9 |
+
model_dict = {
|
10 |
+
"inputs": "text",
|
11 |
+
"outputs": "text"
|
12 |
+
}
|
13 |
+
|
14 |
# Load the Gradio interface
|
15 |
+
gr.Interface.load(model_dict, examples=examples).launch()
|
|