Camille commited on
Commit
22386d7
1 Parent(s): 234bf36
app.py CHANGED
@@ -1,6 +1,6 @@
1
  # coding: utf-8
2
  import os
3
- os.system("pip install gradio==2.8.0b3")
4
  import torch
5
  import gradio as gr
6
  from PIL import ImageFont, ImageDraw
@@ -42,5 +42,5 @@ gr.Interface(
42
  gr.outputs.Image(type="pil"),
43
  allow_flagging="auto",
44
  allow_screenshot=False,
45
- flagging_dir="flagged"
46
- ).launch(enable_queue=True)
 
1
  # coding: utf-8
2
  import os
3
+ #os.system("pip install gradio==2.8.0b3")
4
  import torch
5
  import gradio as gr
6
  from PIL import ImageFont, ImageDraw
 
42
  gr.outputs.Image(type="pil"),
43
  allow_flagging="auto",
44
  allow_screenshot=False,
45
+ flagging_dir="flagged",
46
+ ).launch(enable_queue=True, show_tips=True)
flagged/Output/1.png ADDED
flagged/img/1.jpg ADDED
gradio_queue.db-journal CHANGED
Binary files a/gradio_queue.db-journal and b/gradio_queue.db-journal differ
 
requirements.txt CHANGED
@@ -7,4 +7,5 @@ scipy
7
  cmake
8
  onnxruntime-gpu
9
  opencv-python-headless
10
- jinja2
 
 
7
  cmake
8
  onnxruntime-gpu
9
  opencv-python-headless
10
+ jinja2
11
+ gradio