Spaces:
Sleeping
Sleeping
added examples
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
import os
|
3 |
import torch
|
4 |
from timeit import default_timer as timer
|
5 |
|
@@ -38,7 +37,10 @@ def main():
|
|
38 |
|
39 |
title = "Med Chat Bot"
|
40 |
example_list = [
|
41 |
-
|
|
|
|
|
|
|
42 |
]
|
43 |
|
44 |
demo = gr.Interface(fn=predict,
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import torch
|
3 |
from timeit import default_timer as timer
|
4 |
|
|
|
37 |
|
38 |
title = "Med Chat Bot"
|
39 |
example_list = [
|
40 |
+
"What are the common symptoms of the flu?",
|
41 |
+
"How can I prevent catching a cold?",
|
42 |
+
"What lifestyle changes can I make to improve my heart health?",
|
43 |
+
"Is it necessary to get vaccinated every year?"
|
44 |
]
|
45 |
|
46 |
demo = gr.Interface(fn=predict,
|