yizhangliu commited on
Commit
bb01b85
1 Parent(s): 99108df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -300,7 +300,7 @@ def greet(dict, name, is_morning, temperature):
300
  celsius = (temperature - 32) * 5 / 9
301
  return image, greeting, round(celsius, 2)
302
 
303
- image = gr.Image(source='upload', tool='sketch', type="pil", label="Upload")# .style(height=400)
304
 
305
  demo = gr.Interface(
306
  fn=greet,
 
300
  celsius = (temperature - 32) * 5 / 9
301
  return image, greeting, round(celsius, 2)
302
 
303
+ image = gr.Image(source='upload', tool='sketch', label="上传")# .style(height=400)
304
 
305
  demo = gr.Interface(
306
  fn=greet,