mgupta70 commited on
Commit
8524b81
1 Parent(s): d8be35d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -11
app.py CHANGED
@@ -26,17 +26,13 @@ query_engine = index.as_query_engine()
26
  # return final_response
27
 
28
 
29
- # def get_model_reply_no_prev_context(question):
30
- # final_response = question
31
- # return final_response
32
-
33
- # title = "Knowledge Center at Penta Building Group"
34
- # description = """
35
- # The program is trained to answer questions based on the documentation of 'Lessons Learned' from previous projects!
36
-
37
- # """
38
 
39
- # article = "Your feedback matters!If you like it, contact me at mgupta70@asu.edu"
 
 
40
 
41
  # gr.Interface(
42
  # fn=get_model_reply_no_prev_context,
@@ -52,4 +48,6 @@ import gradio as gr
52
  def sketch_recognition(img):
53
  pass# Implement your sketch recognition model here...
54
 
55
- gr.Interface(fn=sketch_recognition, inputs="sketchpad", outputs="label").launch()
 
 
 
26
  # return final_response
27
 
28
 
29
+ def get_model_reply_no_prev_context(question):
30
+ final_response = question
31
+ return final_response
 
 
 
 
 
 
32
 
33
+ title = "Knowledge Center at Penta Building Group"
34
+ description = """The program is trained to answer questions based on the documentation of 'Lessons Learned' from previous projects!"""
35
+ article = "Your feedback matters!If you like it, contact us at mgupta70@asu.edu"
36
 
37
  # gr.Interface(
38
  # fn=get_model_reply_no_prev_context,
 
48
  def sketch_recognition(img):
49
  pass# Implement your sketch recognition model here...
50
 
51
+ gr.Interface(fn=sketch_recognition, inputs="sketchpad", outputs="label", title=title,
52
+ description=description,
53
+ article=article,).launch()