Update main.py
Browse files
main.py
CHANGED
|
@@ -27,8 +27,6 @@ app.add_middleware(
|
|
| 27 |
|
| 28 |
gr.mount_gradio_app(app, demo, path="/gradio")
|
| 29 |
|
| 30 |
-
fn.load_model()
|
| 31 |
-
|
| 32 |
@app.post("/run")
|
| 33 |
async def api_run(text: str):
|
| 34 |
try:
|
|
|
|
| 27 |
|
| 28 |
gr.mount_gradio_app(app, demo, path="/gradio")
|
| 29 |
|
|
|
|
|
|
|
| 30 |
@app.post("/run")
|
| 31 |
async def api_run(text: str):
|
| 32 |
try:
|