lucas-w commited on
Commit
298f8e9
·
1 Parent(s): 4c0deef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
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("dmis-lab/biobert-large-cased-v1.1-squad",
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()