Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
# Function to mock the VLLM interpretation and return structured HTML
|
|
|
4 |
def diagnose_router(image):
|
5 |
# Structured diagnosis and solution
|
6 |
result = {
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
|
4 |
# Function to mock the VLLM interpretation and return structured HTML
|
5 |
+
@spaces.GPU
|
6 |
def diagnose_router(image):
|
7 |
# Structured diagnosis and solution
|
8 |
result = {
|