Edgar404 commited on
Commit
54ff2c7
1 Parent(s): d55f7e0

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +1 -10
demo.py CHANGED
@@ -1,12 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
- """Demo.ipynb
3
-
4
- Automatically generated by Colaboratory.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1Icb8zeoaudyTDOKM1QySNay1cXzltRAp
8
- """
9
-
10
  !pip install -q -U gradio peft
11
 
12
  import gradio as gr
@@ -130,7 +121,7 @@ def process_image(image , mode = 'numeric' ):
130
 
131
  return output
132
 
133
- import gradio as gr
134
 
135
  def image_classifier(image , mode):
136
  return process_image(image , mode)
 
 
 
 
 
 
 
 
 
 
1
  !pip install -q -U gradio peft
2
 
3
  import gradio as gr
 
121
 
122
  return output
123
 
124
+
125
 
126
  def image_classifier(image , mode):
127
  return process_image(image , mode)