Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,8 @@ async def async_respond(
|
|
54 |
except Exception as e:
|
55 |
logger.error(f"Error during chat completion: {str(e)}")
|
56 |
yield f"์ค๋ฅ ๋ฐ์: {str(e)}"
|
57 |
-
return
|
58 |
|
59 |
logger.info("์๋ต ์๋ฃ")
|
60 |
-
return full_response
|
61 |
|
62 |
def respond(*args, **kwargs):
|
63 |
return asyncio.run(async_respond(*args, **kwargs))
|
|
|
54 |
except Exception as e:
|
55 |
logger.error(f"Error during chat completion: {str(e)}")
|
56 |
yield f"์ค๋ฅ ๋ฐ์: {str(e)}"
|
|
|
57 |
|
58 |
logger.info("์๋ต ์๋ฃ")
|
|
|
59 |
|
60 |
def respond(*args, **kwargs):
|
61 |
return asyncio.run(async_respond(*args, **kwargs))
|