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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -34,20 +34,20 @@ 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,
39
- # inputs="textbox",
40
- # outputs="text",
41
- # title=title,
42
- # description=description,
43
- # article=article,
44
- # examples=[["Which code is to be used while planning a pedestrian walkway?"], ["What is AHJ?"]], live=True
45
- # ).launch()
46
 
47
  import gradio as gr
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()
 
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,
39
+ inputs="textbox",
40
+ outputs="text",
41
+ title=title,
42
+ description=description,
43
+ article=article,
44
+ examples=[["Which code is to be used while planning a pedestrian walkway?"], ["What is AHJ?"]]
45
+ ).launch()
46
 
47
  import gradio as gr
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()