- app.py +5 -0
- model_helper.py +0 -5
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import glob
|
2 |
import gradio as gr
|
3 |
|
|
|
1 |
+
import sys
|
2 |
+
import os
|
3 |
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'amt/src')))
|
4 |
+
|
5 |
+
|
6 |
import glob
|
7 |
import gradio as gr
|
8 |
|
model_helper.py
CHANGED
@@ -1,9 +1,4 @@
|
|
1 |
# @title Model helper
|
2 |
-
import sys
|
3 |
-
import os
|
4 |
-
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
|
5 |
-
|
6 |
-
|
7 |
from collections import Counter
|
8 |
import argparse
|
9 |
import torch
|
|
|
1 |
# @title Model helper
|
|
|
|
|
|
|
|
|
|
|
2 |
from collections import Counter
|
3 |
import argparse
|
4 |
import torch
|