Spaces:
Runtime error
Runtime error
Aryan Kumar
commited on
Commit
·
0e5d980
1
Parent(s):
e0ef435
new file: requirements.txt
Browse files- app.ipynb +11 -11
- app.py +1 -1
- requirements.txt +2 -0
app.ipynb
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
{
|
45 |
"cell_type": "code",
|
46 |
"execution_count": 30,
|
47 |
-
"id": "
|
48 |
"metadata": {},
|
49 |
"outputs": [],
|
50 |
"source": [
|
@@ -55,7 +55,7 @@
|
|
55 |
{
|
56 |
"cell_type": "code",
|
57 |
"execution_count": 18,
|
58 |
-
"id": "
|
59 |
"metadata": {},
|
60 |
"outputs": [
|
61 |
{
|
@@ -82,7 +82,7 @@
|
|
82 |
{
|
83 |
"cell_type": "code",
|
84 |
"execution_count": 19,
|
85 |
-
"id": "
|
86 |
"metadata": {},
|
87 |
"outputs": [
|
88 |
{
|
@@ -148,7 +148,7 @@
|
|
148 |
{
|
149 |
"cell_type": "code",
|
150 |
"execution_count": 31,
|
151 |
-
"id": "
|
152 |
"metadata": {},
|
153 |
"outputs": [],
|
154 |
"source": [
|
@@ -159,7 +159,7 @@
|
|
159 |
{
|
160 |
"cell_type": "code",
|
161 |
"execution_count": 32,
|
162 |
-
"id": "
|
163 |
"metadata": {},
|
164 |
"outputs": [],
|
165 |
"source": [
|
@@ -172,7 +172,7 @@
|
|
172 |
{
|
173 |
"cell_type": "code",
|
174 |
"execution_count": 34,
|
175 |
-
"id": "
|
176 |
"metadata": {},
|
177 |
"outputs": [
|
178 |
{
|
@@ -240,7 +240,7 @@
|
|
240 |
{
|
241 |
"cell_type": "code",
|
242 |
"execution_count": 45,
|
243 |
-
"id": "
|
244 |
"metadata": {},
|
245 |
"outputs": [
|
246 |
{
|
@@ -466,8 +466,8 @@
|
|
466 |
},
|
467 |
{
|
468 |
"cell_type": "code",
|
469 |
-
"execution_count":
|
470 |
-
"id": "
|
471 |
"metadata": {},
|
472 |
"outputs": [
|
473 |
{
|
@@ -487,7 +487,7 @@
|
|
487 |
{
|
488 |
"cell_type": "code",
|
489 |
"execution_count": 50,
|
490 |
-
"id": "
|
491 |
"metadata": {},
|
492 |
"outputs": [
|
493 |
{
|
@@ -509,7 +509,7 @@
|
|
509 |
{
|
510 |
"cell_type": "code",
|
511 |
"execution_count": null,
|
512 |
-
"id": "
|
513 |
"metadata": {},
|
514 |
"outputs": [],
|
515 |
"source": []
|
|
|
44 |
{
|
45 |
"cell_type": "code",
|
46 |
"execution_count": 30,
|
47 |
+
"id": "0407168f",
|
48 |
"metadata": {},
|
49 |
"outputs": [],
|
50 |
"source": [
|
|
|
55 |
{
|
56 |
"cell_type": "code",
|
57 |
"execution_count": 18,
|
58 |
+
"id": "d3b1540f",
|
59 |
"metadata": {},
|
60 |
"outputs": [
|
61 |
{
|
|
|
82 |
{
|
83 |
"cell_type": "code",
|
84 |
"execution_count": 19,
|
85 |
+
"id": "ac681618",
|
86 |
"metadata": {},
|
87 |
"outputs": [
|
88 |
{
|
|
|
148 |
{
|
149 |
"cell_type": "code",
|
150 |
"execution_count": 31,
|
151 |
+
"id": "9f3a2ab2",
|
152 |
"metadata": {},
|
153 |
"outputs": [],
|
154 |
"source": [
|
|
|
159 |
{
|
160 |
"cell_type": "code",
|
161 |
"execution_count": 32,
|
162 |
+
"id": "c476f09a",
|
163 |
"metadata": {},
|
164 |
"outputs": [],
|
165 |
"source": [
|
|
|
172 |
{
|
173 |
"cell_type": "code",
|
174 |
"execution_count": 34,
|
175 |
+
"id": "09839ebb",
|
176 |
"metadata": {},
|
177 |
"outputs": [
|
178 |
{
|
|
|
240 |
{
|
241 |
"cell_type": "code",
|
242 |
"execution_count": 45,
|
243 |
+
"id": "2f0f85be",
|
244 |
"metadata": {},
|
245 |
"outputs": [
|
246 |
{
|
|
|
466 |
},
|
467 |
{
|
468 |
"cell_type": "code",
|
469 |
+
"execution_count": 51,
|
470 |
+
"id": "dd63b5c0",
|
471 |
"metadata": {},
|
472 |
"outputs": [
|
473 |
{
|
|
|
487 |
{
|
488 |
"cell_type": "code",
|
489 |
"execution_count": 50,
|
490 |
+
"id": "9c89ee04",
|
491 |
"metadata": {},
|
492 |
"outputs": [
|
493 |
{
|
|
|
509 |
{
|
510 |
"cell_type": "code",
|
511 |
"execution_count": null,
|
512 |
+
"id": "0e6c5d0d",
|
513 |
"metadata": {},
|
514 |
"outputs": [],
|
515 |
"source": []
|
app.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
__all__ = ['learn', 'categories', 'image', 'label', 'examples', 'intf', 'is_cat', 'classify_img']
|
5 |
|
6 |
# %% app.ipynb 2
|
7 |
-
from
|
8 |
import gradio as gr
|
9 |
|
10 |
|
|
|
4 |
__all__ = ['learn', 'categories', 'image', 'label', 'examples', 'intf', 'is_cat', 'classify_img']
|
5 |
|
6 |
# %% app.ipynb 2
|
7 |
+
from fastai.vision.all import *
|
8 |
import gradio as gr
|
9 |
|
10 |
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
fastai
|
2 |
+
torch == 1.12.1
|