First commit
This commit is contained in:
commit
2e3a0344e5
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/.env
|
18
main.py
Normal file
18
main.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import io
|
||||||
|
import os
|
||||||
|
import time
|
||||||
|
from anthropic import Anthropic
|
||||||
|
from flask import Flask, request, redirect, session, url_for
|
||||||
|
from dotenv import load_dotenv, find_dotenv
|
||||||
|
|
||||||
|
load_dotenv(find_dotenv())
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route('/')
|
||||||
|
def hello():
|
||||||
|
return 'Hello, World!'
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
print(os.environ.get("ANTHROPIC_API_KEY"))
|
||||||
|
# app.run()
|
Loading…
x
Reference in New Issue
Block a user