Aman Sharma
commited on
Commit
·
6ce527a
1
Parent(s):
e5bb136
gradio demo added
Browse files- app.py +2 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from sketch_nn.designer import NeuralNetworkDesigner
|
3 |
import tempfile
|
|
|
1 |
+
import sys
|
2 |
+
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
3 |
import gradio as gr
|
4 |
from sketch_nn.designer import NeuralNetworkDesigner
|
5 |
import tempfile
|
requirements.txt
CHANGED
@@ -2,4 +2,5 @@ gradio
|
|
2 |
torch
|
3 |
opencv-python
|
4 |
numpy
|
5 |
-
pytesseract
|
|
|
|
2 |
torch
|
3 |
opencv-python
|
4 |
numpy
|
5 |
+
pytesseract
|
6 |
+
-e .
|