Skip to content

Commit

Permalink
poetry files
Browse files Browse the repository at this point in the history
  • Loading branch information
FusionSid committed Mar 31, 2022
1 parent c037b96 commit c111efe
Show file tree
Hide file tree
Showing 4 changed files with 2,969 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language = "python3"
run = "python3 rickroll-lang/src-py/RickRoll.py /home/runner/RicklangAPI/main.rickroll"
4 changes: 2 additions & 2 deletions main.rickroll
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ take me to ur heart

give app up fastapi.FastAPI()

py: list_of_facts = json.load(open("/Users/siddheshzantye/Desktop/Coding/Python/ricklangapi/facts.json"))
py: list_of_facts = json.load(open("/home/runner/RicklangAPI/facts.json"))

gonna home
when i give my random.choice(list_of_facts)
say goodbye

give r up app.add_api_route("/", home)

py: uvicorn.run(app)
py: uvicorn.run(app, host="0.0.0.0", port=8000, reload=False)
say goodbye

Loading

0 comments on commit c111efe

Please sign in to comment.