File size: 812 Bytes
04b989a
b198f48
 
04b989a
 
 
 
 
 
b198f48
 
 
04b989a
 
b198f48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: SeeFood (Not Hotdog)
emoji: 🌭
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 3.35.2
app_file: app.py
pinned: false
license: mpl-2.0
models: [resnet-18]
tags: [resnet-18, hotdogs]
---

# Seefood (Not Hotdog)

An example creating the SeeFood app from the Silicon Valley TV show.

The first steps to run are to create a Python virtual environment and installing the needed requirements:

```
python -m venv venv
pip install -r requirements.txt
```

## Training the model

In order to train the model from scratch you can first run:

```
python create_model.py
```

## Running the App

In order to start the app you can run:
```
python app.py
```

And it will launch the application at http://127.0.0.1:7860/ or the 
first port that is accessible. So please check the output from the command.