Aishu-7 commited on
Commit
120f36b
·
verified ·
1 Parent(s): be5f43d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,11 +8,11 @@ import gradio as gr
8
  #pip install https://gradio-builds.s3.amazonaws.com/75c684efb87624bee2fb63b08122564e6538509e/gradio-6.17.3-py3-none-any.whl
9
 
10
 
11
- def image_classifier(inp):
12
- return {'cat': 0.3, 'dog': 0.7}
13
 
14
- demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
15
- demo.launch()
16
 
17
 
18
  with open("knowledge.txt", "r", encoding="utf-8") as file:
 
8
  #pip install https://gradio-builds.s3.amazonaws.com/75c684efb87624bee2fb63b08122564e6538509e/gradio-6.17.3-py3-none-any.whl
9
 
10
 
11
+ #def image_classifier(inp):
12
+ # return {'cat': 0.3, 'dog': 0.7}
13
 
14
+ #demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
15
+ #demo.launch()
16
 
17
 
18
  with open("knowledge.txt", "r", encoding="utf-8") as file: