Spaces:
Build error
Build error
Update app py
Browse files
app py
CHANGED
|
@@ -50,7 +50,7 @@ def dummy(x): return x
|
|
| 50 |
demo = gr.Interface(fn=dummy, inputs="text", outputs="text")
|
| 51 |
|
| 52 |
if __name__ == "__main__":
|
| 53 |
-
# FastAPI এবং Gradio একসাথে চালান
|
| 54 |
import threading
|
| 55 |
threading.Thread(target=lambda: uvicorn.run(app, host="0.0.0.0", port=8000), daemon=True).start()
|
| 56 |
demo.launch()
|
|
|
|
| 50 |
demo = gr.Interface(fn=dummy, inputs="text", outputs="text")
|
| 51 |
|
| 52 |
if __name__ == "__main__":
|
| 53 |
+
# FastAPI এবং Gradio একসাথে চালান
|
| 54 |
import threading
|
| 55 |
threading.Thread(target=lambda: uvicorn.run(app, host="0.0.0.0", port=8000), daemon=True).start()
|
| 56 |
demo.launch()
|