Spaces:
Configuration error
Configuration error
LucaVivona
commited on
Commit
·
3d39830
1
Parent(s):
0e51fa2
Update
Browse files
backend/src/demo/demo.py
CHANGED
@@ -2,8 +2,9 @@ import argparse
|
|
2 |
import sys
|
3 |
|
4 |
sys.path.insert(0, "../")
|
5 |
-
from
|
6 |
-
|
|
|
7 |
|
8 |
import gradio as gr
|
9 |
|
|
|
2 |
import sys
|
3 |
|
4 |
sys.path.insert(0, "../")
|
5 |
+
from resources import GradioModule, register, InterLauncher, tabularGradio
|
6 |
+
sys.path.insert(0, "../example")
|
7 |
+
from examples import Pictionary, FSD, stock_forecast
|
8 |
|
9 |
import gradio as gr
|
10 |
|
backend/src/example/examples.py
CHANGED
@@ -7,8 +7,8 @@ import torch
|
|
7 |
from torch import nn
|
8 |
import numpy as np
|
9 |
import PIL
|
10 |
-
sys.path.insert(0, "../
|
11 |
-
from
|
12 |
|
13 |
|
14 |
@GradioModule
|
|
|
7 |
from torch import nn
|
8 |
import numpy as np
|
9 |
import PIL
|
10 |
+
sys.path.insert(0, "../")
|
11 |
+
from resources.module import GradioModule, register
|
12 |
|
13 |
|
14 |
@GradioModule
|
backend/src/resources/__pycache__/module.cpython-39.pyc
CHANGED
Binary files a/backend/src/resources/__pycache__/module.cpython-39.pyc and b/backend/src/resources/__pycache__/module.cpython-39.pyc differ
|
|