Spaces:
Sleeping
Sleeping
cheng
commited on
Commit
·
e573f5d
1
Parent(s):
82e8494
update layout
Browse files
app.py
CHANGED
@@ -21,8 +21,6 @@ if __name__ == "__main__":
|
|
21 |
with gr.Column():
|
22 |
input_image = gr.Image(source='upload', type="numpy", label="Please upload a food picture.")
|
23 |
run_button = gr.Button(value="Detect", variant="primary")
|
24 |
-
|
25 |
-
with gr.Row():
|
26 |
with gr.Column():
|
27 |
gallery = gr.Gallery(label="Detection Results").style(
|
28 |
grid=(1, 1), preview=False, object_fit="none")
|
|
|
21 |
with gr.Column():
|
22 |
input_image = gr.Image(source='upload', type="numpy", label="Please upload a food picture.")
|
23 |
run_button = gr.Button(value="Detect", variant="primary")
|
|
|
|
|
24 |
with gr.Column():
|
25 |
gallery = gr.Gallery(label="Detection Results").style(
|
26 |
grid=(1, 1), preview=False, object_fit="none")
|
setup.py
CHANGED
@@ -182,6 +182,7 @@ def parse_requirements(fname="requirements.txt", with_version=True):
|
|
182 |
|
183 |
|
184 |
if __name__ == "__main__":
|
|
|
185 |
print(f"setup -- Building wheel {package_name}-{version}")
|
186 |
|
187 |
with open("LICENSE", "r", encoding="utf-8") as f:
|
|
|
182 |
|
183 |
|
184 |
if __name__ == "__main__":
|
185 |
+
print("run setup.py in root file for food detection")
|
186 |
print(f"setup -- Building wheel {package_name}-{version}")
|
187 |
|
188 |
with open("LICENSE", "r", encoding="utf-8") as f:
|