Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def call_gemini_api(question):
|
|
| 31 |
return response.text
|
| 32 |
except Exception as e:
|
| 33 |
print(f"API ํธ์ถ ์ค ์ค๋ฅ ๋ฐ์: {e}")
|
| 34 |
-
return f"์ฃ์กํฉ๋๋ค. API ํธ์ถ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {e}"
|
| 35 |
|
| 36 |
COSINE_SIMILARITY_THRESHOLD = 0.75
|
| 37 |
|
|
|
|
| 31 |
return response.text
|
| 32 |
except Exception as e:
|
| 33 |
print(f"API ํธ์ถ ์ค ์ค๋ฅ ๋ฐ์: {e}")
|
| 34 |
+
return (f"์ฃ์กํฉ๋๋ค. API ํธ์ถ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {e}")
|
| 35 |
|
| 36 |
COSINE_SIMILARITY_THRESHOLD = 0.75
|
| 37 |
|