Spaces:
Paused
Paused
yuta_hayashi
commited on
Commit
•
fb277c7
1
Parent(s):
53e49d8
fix: app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import requests
|
4 |
from bs4 import BeautifulSoup
|
5 |
from langchain.schema import AIMessage, HumanMessage, SystemMessage
|
|
|
6 |
|
7 |
def summarize_with_anthropic(article, api_key, summary_prompt):
|
8 |
chat = ChatAnthropic(
|
|
|
3 |
import requests
|
4 |
from bs4 import BeautifulSoup
|
5 |
from langchain.schema import AIMessage, HumanMessage, SystemMessage
|
6 |
+
import os
|
7 |
|
8 |
def summarize_with_anthropic(article, api_key, summary_prompt):
|
9 |
chat = ChatAnthropic(
|