lucas-w commited on
Commit
3107216
1 Parent(s): 298f8e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -2,14 +2,13 @@ import gradio as gr
2
 
3
  # Define the examples
4
  examples = [
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()
 
 
2
 
3
  # Define the examples
4
  examples = [
5
+ "What is the most common cause of heart disease?",
6
+ "Can you explain the symptoms of diabetes?",
7
+ "What are the treatment options for cancer?",
8
+ "How does vaccination work?",
9
+ "Explain the process of photosynthesis.",
10
  ]
11
 
 
 
 
 
 
 
12
  # Load the Gradio interface
13
+ gr.Interface.load("dmis-lab/biobert-large-cased-v1.1-squad",
14
+ examples=examples).launch()