Spaces:
Running
on
Zero
Running
on
Zero
Removed GPU reqrs
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import spaces
|
| 2 |
import gradio as gr
|
| 3 |
from phi3_instruct_graph import Phi3InstructGraph
|
| 4 |
import rapidjson
|
|
@@ -41,7 +41,7 @@ def handle_text(text):
|
|
| 41 |
return " ".join(text.split())
|
| 42 |
|
| 43 |
# Main processing functions
|
| 44 |
-
@spaces.GPU
|
| 45 |
def extract(text):
|
| 46 |
try:
|
| 47 |
model = Phi3InstructGraph()
|
|
|
|
| 1 |
+
# import spaces
|
| 2 |
import gradio as gr
|
| 3 |
from phi3_instruct_graph import Phi3InstructGraph
|
| 4 |
import rapidjson
|
|
|
|
| 41 |
return " ".join(text.split())
|
| 42 |
|
| 43 |
# Main processing functions
|
| 44 |
+
# @spaces.GPU
|
| 45 |
def extract(text):
|
| 46 |
try:
|
| 47 |
model = Phi3InstructGraph()
|