Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -216,4 +216,4 @@ def generate_response():
|
|
216 |
return Response(generate_tokens(model, generator), content_type='text/plain', status=200, direct_passthrough=True)
|
217 |
|
218 |
if __name__ == "__main__":
|
219 |
-
app.run(host="0.0.0.0", port=7860, debug=False)
|
|
|
216 |
return Response(generate_tokens(model, generator), content_type='text/plain', status=200, direct_passthrough=True)
|
217 |
|
218 |
if __name__ == "__main__":
|
219 |
+
app.run(host="0.0.0.0", port=7860, debug=False), threaded=False)
|