Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def auth(username: str, passwd: str) -> bool:
|
|
| 9 |
def main():
|
| 10 |
demo = gr.Interface(
|
| 11 |
fn=func,
|
| 12 |
-
inputs=[gr.
|
| 13 |
-
outputs=[gr.
|
| 14 |
)
|
| 15 |
demo.queue(api_open=True)
|
| 16 |
demo.launch(
|
|
|
|
| 9 |
def main():
|
| 10 |
demo = gr.Interface(
|
| 11 |
fn=func,
|
| 12 |
+
inputs=[gr.File()],
|
| 13 |
+
outputs=[gr.File()],
|
| 14 |
)
|
| 15 |
demo.queue(api_open=True)
|
| 16 |
demo.launch(
|