Spaces:
Sleeping
Sleeping
fix llm model
Browse files
app.py
CHANGED
|
@@ -35,9 +35,9 @@ async def summarize(input_text: str, input_url: str):
|
|
| 35 |
return "テキストかURLを入力してください。"
|
| 36 |
|
| 37 |
config = FilmConfig(
|
| 38 |
-
"gpt-
|
| 39 |
api_type="azure",
|
| 40 |
-
azure_deployment_id="gpt-
|
| 41 |
azure_api_version="2023-05-15",
|
| 42 |
timeout=60.0, # これを入れないとtimeoutが頻繁に発生する
|
| 43 |
)
|
|
|
|
| 35 |
return "テキストかURLを入力してください。"
|
| 36 |
|
| 37 |
config = FilmConfig(
|
| 38 |
+
"gpt-4-32k",
|
| 39 |
api_type="azure",
|
| 40 |
+
azure_deployment_id="gpt-4-32k",
|
| 41 |
azure_api_version="2023-05-15",
|
| 42 |
timeout=60.0, # これを入れないとtimeoutが頻繁に発生する
|
| 43 |
)
|