sveshkini commited on
Commit
21965d4
·
1 Parent(s): 550b8be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ if __name__ == "__main__":
111
  # args = parser.parse_args()
112
  # question(args.question)
113
 
114
- appdemo = gr.Interface(title="InternalAI v0.1",description="InternalAI is an internal business intelligence tool that gathers information across all sources of knowledge at a company (Notion, Slack, etc) and lets employees easily ask for answers.", fn=question, inputs=gr.Textbox(placeholder="Ask InternalAI a question here..."), outputs=["text","text"], allow_flagging="auto", examples=["How much am I allowed to expense for dinner in the office, and where do I report those expenses? How about at events?", "Which todos are left in our Social Media Monitoring project?", "Who should I contact about the coffee machine and stocking extra flavors?"], article='<h2>FFMPEG co\'s Knowledge Sources</h1> <div>Notion: <a href="https://mixolydian-earl-c34.notion.site/FFMPEG-Company-Home-c8b76f986e2c4e4ab289fdd72627e50c">Link to FFMPEG co\'s Notion Homepage</a></div><h2>Here\'s a video showing the efficacy of InternalAI when compared to searching across Slack, Notion and Google Docs manually.</h1> <iframe width="560" height="315" src="https://www.youtube.com/embed/g4oP0GiBt_g" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>')
115
 
116
  # print("FOR SLACK to WORK YOU MUST RUN LOCALTUNNEL (on port 5000 where flask runs) and then change the request URL in slack settings to https://LOCALTUNNELGIVENURL.loca.lt/slack/events")
117
 
 
111
  # args = parser.parse_args()
112
  # question(args.question)
113
 
114
+ appdemo = gr.Interface(title="InternalAI v0.1",description="InternalAI is an internal business intelligence tool that gathers information across all sources of knowledge at a company (Notion, Slack, etc) and lets employees easily ask for answers.", fn=question, inputs=gr.Textbox(placeholder="Ask InternalAI a question here..."), outputs=["text","text"], allow_flagging="auto", examples=["How much am I allowed to expense for dinner in the office, and where do I report those expenses? How about at events?", "Which todos are left in our Social Media Monitoring project?", "Who should I contact about the coffee machine and stocking extra flavors?"], article='<h2>FFMPEG co\'s Knowledge Sources</h1> <div>Notion: <a href="https://mixolydian-earl-c34.notion.site/FFMPEG-Company-Home-c8b76f986e2c4e4ab289fdd72627e50c">Link to FFMPEG co\'s Notion Homepage</a></div><h2>Here\'s a video showing the efficacy of InternalAI when compared to searching across Slack, Notion and Google Docs manually.</h1> <iframe width="560" height="315" src="https://www.youtube.com/watch?v=k4VheAF8krI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>')
115
 
116
  # print("FOR SLACK to WORK YOU MUST RUN LOCALTUNNEL (on port 5000 where flask runs) and then change the request URL in slack settings to https://LOCALTUNNELGIVENURL.loca.lt/slack/events")
117