Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -576,8 +576,7 @@ def show_temperature_graph(data):
|
|
| 576 |
if 'weather_forecast' not in st.session_state:
|
| 577 |
client = OpenAI(
|
| 578 |
api_key="glhf_9ea0e0babe1e45353dd03b44cb979e22",
|
| 579 |
-
base_url="https://glhf.chat/api/openai/v1"
|
| 580 |
-
http_client=None # 기본 http 클라이언트 사용
|
| 581 |
)
|
| 582 |
|
| 583 |
forecast_data_str = "\n".join([f"{time}: {temp}도, {description}" for time, temp, description in zip(times, temps, weather_descriptions)])
|
|
|
|
| 576 |
if 'weather_forecast' not in st.session_state:
|
| 577 |
client = OpenAI(
|
| 578 |
api_key="glhf_9ea0e0babe1e45353dd03b44cb979e22",
|
| 579 |
+
base_url="https://glhf.chat/api/openai/v1"
|
|
|
|
| 580 |
)
|
| 581 |
|
| 582 |
forecast_data_str = "\n".join([f"{time}: {temp}도, {description}" for time, temp, description in zip(times, temps, weather_descriptions)])
|