Spaces:
Running
Running
Commit ·
b47070c
1
Parent(s): 22590f8
updating requirements
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
from outer_layer.app import app as fastapi_app
|
| 3 |
from gradio.routes import mount_gradio_app
|
| 4 |
-
|
| 5 |
@spaces.GPU
|
| 6 |
def api_stub(text=None, image_base64=None):
|
| 7 |
return {
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import spaces
|
| 3 |
from outer_layer.app import app as fastapi_app
|
| 4 |
from gradio.routes import mount_gradio_app
|
| 5 |
+
|
| 6 |
@spaces.GPU
|
| 7 |
def api_stub(text=None, image_base64=None):
|
| 8 |
return {
|