Spaces:
Build error
Build error
Mya-Mya
commited on
Commit
·
8238b08
1
Parent(s):
0c69ef8
Create backend.py
Browse files- backend.py +6 -0
backend.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from abc import ABC,abstractmethod
|
2 |
+
from pandas import DataFrame
|
3 |
+
class Backend(ABC):
|
4 |
+
@abstractmethod
|
5 |
+
def on_submit_button_press(self,query:str)->DataFrame:
|
6 |
+
pass
|