AkashDataScience commited on
Commit
9214f47
·
1 Parent(s): 4764317
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -102,11 +102,9 @@ def infer(message, history):
102
  return predicted_captions_decoded
103
 
104
 
105
- examples=[{'text':"I am planning to buy a dog and a cat. Suggest some breeds that get along with each other"},
106
- {'text':"Explain biased coin flip"},
107
- {'text': "I want to buy a house. Suggest some factors to consider while making final decision"}]
108
 
109
- gr.ChatInterface(infer, chatbot=gr.Chatbot(height=600),
110
- textbox=gr.Textbox(placeholder="How can I help you today", container=False,
111
- scale=7), theme="soft", examples=examples,
112
  title="Phi-3 Multimodel Assistant", multimodal=True).launch()
 
102
  return predicted_captions_decoded
103
 
104
 
105
+ examples=[{'text':"I am planning to buy a dog and a cat. Suggest some breeds that get along with each other", 'files':[]},
106
+ {'text':"Explain biased coin flip", 'files':[]},
107
+ {'text': "I want to buy a house. Suggest some factors to consider while making final decision", 'files':[]}]
108
 
109
+ gr.ChatInterface(infer, chatbot=gr.Chatbot(height=600), theme="soft", examples=examples,
 
 
110
  title="Phi-3 Multimodel Assistant", multimodal=True).launch()